NTRU
The NTRU lattice KEM in its HPS and HRSS forms, a NIST Round 3 finalist
Overview
NTRU is one of the oldest lattice-based public-key schemes, dating from 1996. The NIST submission merged two variants, NTRU-HPS and NTRU-HRSS, into a CCA-secure KEM that reached the third round as a finalist but was not selected.
NTRU works with polynomials in a ring of the form Z_q[X]/(X^n - 1). The private key is a pair of short polynomials f and g, and the public key is essentially h = g/f modulo q. Recovering short f and g from h is a hard lattice problem. Encryption adds a short random multiple of h to the encoded message; the key holder multiplies by f to cancel the mask and reduces modulo a small number to recover the message.
NTRU-HPS follows the original design by Hoffstein, Pipher and Silverman with fixed-weight ternary secrets. NTRU-HRSS, by Hülsing, Rijneveld, Schanck and Schwabe, uses arbitrary ternary secrets and a prime-cyclotomic ring structure, which removes the need for fixed-weight sampling. Both are built as deterministic public-key encryption schemes, which allows a tight CCA conversion and parameters with no decryption failures at all. The original NTRU patents have expired.
Parameter sets present: ntruhps2048509 (category 1), ntruhps2048677 (category 3), ntruhps4096821 and ntruhps40961229 (category 5), ntruhrss701 (category 3) and ntruhrss1373 (higher security). Keys and ciphertexts are between about 700 bytes and 2 KB. A variant of NTRU-HRSS was combined with X25519 in Google and Cloudflare's CECPQ2 TLS experiment in 2019. All six sets share the same KEM interface and differ in ring degree n and modulus q.
History
1996–2025NTRU presented by Hoffstein, Pipher and Silverman
NTRUEncrypt standardised in IEEE 1363.1
NIST calls for post-quantum KEMs and signatures
NIST Post-Quantum Cryptography standardisationNTRU variants submitted to NIST PQC
26 candidates advance to round 2
NIST Post-Quantum Cryptography standardisationRound 3 finalists and alternates announced
NIST Post-Quantum Cryptography standardisationKyber, Dilithium, Falcon and SPHINCS+ selected; round 4 opens
NIST Post-Quantum Cryptography standardisationFIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) published
NIST Post-Quantum Cryptography standardisationHQC selected as a second KEM
NIST Post-Quantum Cryptography standardisation
How it works
- KeyGen samples short polynomials f and g and publishes h, essentially g divided by f modulo q.
- Encaps samples short r and m and computes c = r*h + m modulo q.
- Decaps multiplies c by f, reduces to recover m, and re-derives r.
- The shared key is a hash of (r, m); malformed ciphertexts lead to implicit rejection.
Security notes
No practical attack is known against these parameters, but NIST chose Kyber (ML-KEM) instead, so NTRU is not a NIST standard. Implementations must use constant-time polynomial inversion and arithmetic.
Typical uses
Variants in NextSSL
6| Algorithm | Tier | Sizes (bytes) | Standards | API |
|---|---|---|---|---|
| Ntruhps2048509 ntruhps2048509 |
unverified | pk 699 · sk 935 · ct 699 · ss 32 · seed 0 · coins 0 | — | root |
| Ntruhps2048677 ntruhps2048677 |
unverified | pk 930 · sk 1234 · ct 930 · ss 32 · seed 0 · coins 0 | — | root |
| Ntruhps40961229 ntruhps40961229 |
unverified | pk 1842 · sk 2366 · ct 1842 · ss 32 · seed 0 · coins 0 | — | root |
| Ntruhps4096821 ntruhps4096821 |
unverified | pk 1230 · sk 1590 · ct 1230 · ss 32 · seed 0 · coins 0 | — | root |
| Ntruhrss1373 ntruhrss1373 |
unverified | pk 2401 · sk 2983 · ct 2401 · ss 32 · seed 0 · coins 0 | — | root |
| Ntruhrss701 ntruhrss701 |
unverified | pk 1138 · sk 1450 · ct 1138 · ss 32 · seed 0 · coins 0 | — | root |
Frequently asked questions
Which NTRU variants does NextSSL include?
NextSSL registers 6 NTRU variants: ntruhps2048509, ntruhps2048677, ntruhps40961229, ntruhps4096821, ntruhrss1373, ntruhrss701.
Families with similar names
Other key encapsulation
All 110Related
The Round 3 submission of Kyber, predecessor of the ML-KEM standard
ML-KEMNIST's primary post-quantum key encapsulation mechanism, standardised in FIPS 203
NTRU+NTT-friendly NTRU-based KEM selected in Korea's post-quantum competition
FalconCompact NTRU-lattice signatures using fast Fourier sampling, the basis of FN-DSA