{
  "id": "2024/585",
  "url": "https://opencryptology.org/2024/585",
  "original_url": "https://eprint.iacr.org/2024/585",
  "title": "A Complete Beginner Guide to the Number Theoretic Transform (NTT)",
  "authors": [
    "Ardianto Satriawan",
    "Rella Mareta",
    "Hanho Lee"
  ],
  "affiliations": null,
  "abstract": "The Number Theoretic Transform (NTT) is a powerful mathematical tool that has become increasingly important in developing Post Quantum Cryptography (PQC) and Homomorphic Encryption (HE). Its ability to efficiently calculate polynomial multiplication using the convolution theorem with a quasi-linear complexity $O(n \\log{n})$ instead of $O(n^2)$ when implemented with Fast Fourier Transform-style algorithms has made it a key component in modern cryptography. FFT-style NTT algorithm or fast-NTT is particularly useful in lattice-based cryptography. In this short note, we briefly introduce the basic concepts of linear, cyclic, and negacyclic convolutions via traditional schoolbook algorithms, traditional NTT, its inverse (INTT), and FFT-like versions of NTT/INTT. We then provide consistent toy examples through different concepts and algorithms to understand the basics of NTT concepts.",
  "category": "Foundations",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“A Complete Beginner Guide to the Number Theoretic Transform (NTT)” by Ardianto Satriawan, Rella Mareta, Hanho Lee, Cryptology ePrint Archive, Paper 2024/585, https://eprint.iacr.org/2024/585. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2024-04-16T03:04:21Z",
    "updated": "2024-04-29T02:12:57Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/585.pdf",
    "sha256": "9068a98894dc13e36919bef73813417876beea65b270f525e2eba83ed8529e3d",
    "size": 922572,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2024/585/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/585.pdf",
      "size": 922572,
      "sha256": "9068a98894dc13e36919bef73813417876beea65b270f525e2eba83ed8529e3d",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2024/585/versions/20240428T181834Z.pdf",
      "captured_at": "2024-04-28T18:18:34Z",
      "label": "copy captured 2024-04-28",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240428181834id_/https://eprint.iacr.org/2024/585.pdf",
      "size": 919969,
      "sha256": "b7fad3c802e3adfef93603b08988d0190ffa874662ceae5cb640fa99538421f2",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260513035321id_/https://eprint.iacr.org/2024/585.pdf",
      "captured_at": "2026-05-13T03:53:21Z",
      "size": 921105
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/585.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 922572
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/585,\n      author = {Ardianto Satriawan and Rella Mareta and Hanho Lee},\n      title = {A Complete Beginner Guide to the Number Theoretic Transform (NTT)},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/585},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/585}\n}"
}
