Skip to content

Releases: lattice-based-cryptography/ntt

v0.1.9

17 Feb 20:16
1bcf279
Compare
Choose a tag to compare

updates the documentation. add some doctests.

v0.1.8

17 Feb 02:52
b254a5a
Compare
Choose a tag to compare

Resolves an overflow error for large primes such as q=12289.

v.0.1.6

14 Feb 19:57
4ac1d53
Compare
Choose a tag to compare

We extend the NTT to the case of non prime power moduli. We require that n divide p-1 for each prime factor p of the given modulus.

This ensures we can compute an n^th root of unity mod modulus by computing n^th roots for each factor p^k and pulling them back using the Chinese remainder theorem.

v0.1.5

11 Feb 23:29
e3df870
Compare
Choose a tag to compare

This version implements the NTT for prime power moduli p^k by computing the Euler totient function to compute the size of the multiplicative group. This allows us to compute a root of unity omega as well as invert n, generalizing the previous construction.

v.0.1.4

11 Feb 18:39
da4e0c5
Compare
Choose a tag to compare

Performs the NTT (number theoretic transform) over a finite field F_p for prime p with multiplicative group of order p-1, as well as over the ring Z_{p^2} which has multiplicative group of order p^2-p.

Uses divide-and-conquer approach for O(n\log(n)) complexity.