Compare versions
Version 1 → Version 2 (current). Removed · Added. This shows the entry's text as it is written, including its formatting marks.
Version 1 · Version 2 (current) · Version history
Side by side · Together
A lattice is a regular, repeating grid of points in space, and lattice-based cryptography builds encryption and digital signatures on the difficulty of certain problems about such grids.
Its best-known uses today are two standards that the U.S. National Institute of Standards and Technology (NIST) published on 13 August 2024: ML-KEM for establishing shared secret keys and ML-DSA for digital signatures.[1][2] Both are described as believed to remain secure against an attacker with a large quantum computer, which is why lattices are central to [post-quantum cryptography](/t/3909/post-quantum-cryptography).[1][2]

*Via Wikimedia Commons: [Lattice-reduction](https://commons.wikimedia.org/wiki/File:Lattice-reduction.svg) by Catslash, public domain.*
## Lattices and the hard problems built on them
In mathematical terms, a lattice is the set of all integer combinations of some fixed, linearly independent vectors; the tutorial illustrates the idea with a lattice in the plane.[4]
The classic example is the shortest vector problem (SVP): given a lattice, find its shortest non-zero vector. Cryptography uses a looser version, GapSVP, which asks only for an approximate answer within a stated factor.[4] A tutorial by Li, Ng and Purcell reports that GapSVP is known to be NP-hard only for small approximation factors, and that the best known algorithm for approximating it within a polynomial factor takes time exponential in the lattice dimension.[4] The assumption that underlies lattice-based cryptography is a conjecture, not a proven fact: that no polynomial-time algorithm approximates lattice problems to within polynomial factors.[4]
Two further problems do most of the work in schemes. The short integer solution (SIS) problem asks for a non-zero short vector that satisfies a given set of linear equations modulo a number q. The learning with errors (LWE) problem asks for a hidden vector given a set of random "noisy" linear equations that the vector approximately satisfies. For suitably chosen parameters, NIST's FIPS 204 states, both are intractable for the best known techniques, including Gaussian elimination.[2]
## From worst case to average case
Most cryptography needs a problem that is hard for a randomly chosen instance, not merely hard for the worst instance someone can construct. Ajtai's 1996 work on "Generating hard instances of lattice problems" introduced SIS and showed that solving it on average is at least as hard as solving three worst-case lattice problems, the first reduction of this kind.[4] The tutorial describes this as the foundation for basing cryptosystems on worst-case assumptions, and as the starting point for the later learning-with-errors and ring-learning-with-errors problems.[4]
## Learning with errors
Oded Regev's paper "On Lattices, Learning with Errors, Random Linear Codes, and Cryptography" (published in the Journal of the ACM in 2009) gave a reduction from worst-case lattice problems, including GapSVP and SIVP, to the learning problem. The reduction is quantum: an efficient classical algorithm for the learning problem would imply an efficient quantum algorithm for those lattice problems.[3] The paper also presented a public-key cryptosystem based on the problem, with public keys of size about n squared, much smaller than those of earlier lattice-based schemes.[3]
## The module variants in the NIST standards
The standards use a structured form of the problems. When the integers modulo q in LWE and SIS are replaced by a module over a larger ring, the results are called Module Learning With Errors (MLWE) and Module Short Integer Solution (MSIS).[2] FIPS 203 says the security of ML-KEM is related to the difficulty of the Module Learning with Errors problem, and defines three parameter sets, ML-KEM-512, ML-KEM-768 and ML-KEM-1024, in order of increasing security strength and decreasing performance.[1] FIPS 204 says the security of ML-DSA rests on MLWE over a ring and on a non-standard variant of MSIS called SelfTargetMSIS.[2]
NIST announced on 5 July 2022 that it had selected four algorithms for standardization: CRYSTALS-KYBER for key establishment and CRYSTALS-Dilithium, FALCON and SPHINCS+ for signatures.[5] NIST said it chose SPHINCS+, which is not lattice-based, so that signatures would not rely only on the security of lattices.[5]
## Parameter sets and security strengths
NIST's October 2026 transition report lists three ML-KEM parameter sets, ML-KEM-512, ML-KEM-768 and ML-KEM-1024, with classical security strengths of 128, 192 and 256 bits and security categories 1, 3 and 5.[6] It lists three ML-DSA sets, ML-DSA-44, ML-DSA-65 and ML-DSA-87, at the same three strengths, in categories 2, 3 and 5.[6] A footnote says the category for ML-DSA-44 drops to 1 if the approved random bit generator used has less than 192 bits of security.[6] NIST recommends ML-KEM-768 as the default set, because it "provides a large security margin at a reasonable performance cost".[6]
## Where standardization stands
As of the report's October 2026 edition, NIST says ML-KEM is the only approved post-quantum key-establishment scheme based on public-key cryptography.[6] It says it selected HQC as an alternative to ML-KEM, that a standard specifying HQC is under development, and that it has no current plans to select further key-establishment schemes, though that could change.[6] The same report says NIST is developing a standard for a signature algorithm derived from FALCON, as an additional alternative to ML-DSA and the hash-based SLH-DSA, and is evaluating further proposed signature algorithms in a separate process.[6]
The report sets the timetable for retiring the quantum-vulnerable algorithms that lattice schemes are meant to replace. NIST will deprecate quantum-vulnerable public-key cryptography after 2030 and disallow its use under NIST standards and guidelines after 2035, with earlier federal deadlines for the most sensitive systems.[6]
## Sources
1. National Institute of Standards and Technology, "Module-Lattice-Based Key-Encapsulation Mechanism Standard (FIPS 203)", 13 August 2024. https://csrc.nist.gov/pubs/fips/203/final
2. National Institute of Standards and Technology, "Module-Lattice-Based Digital Signature Standard (FIPS 204)", 13 August 2024. https://csrc.nist.gov/pubs/fips/204/final and https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.204.pdf
3. Oded Regev, "On Lattices, Learning with Errors, Random Linear Codes, and Cryptography", Journal of the ACM, 2009 (arXiv:2401.03703). https://arxiv.org/abs/2401.03703
4. Yang Li, Kee Siong Ng and Michael Purcell, "A Tutorial Introduction to Lattice-based Cryptography and Homomorphic Encryption", Australian National University, arXiv:2208.08125, 28 September 2022. https://arxiv.org/abs/2208.08125
5. National Institute of Standards and Technology, NIST Computer Security Resource Center news item on the post-quantum algorithms selected for standardization, 5 July 2022. https://csrc.nist.gov/news/2022/pqc-candidates-to-be-standardized-and-round-4
6. National Institute of Standards and Technology, "Transition to Post-Quantum Cryptography Standards" (NIST IR 8547), final, October 2026. https://csrc.nist.gov/pubs/ir/8547/final and https://nvlpubs.nist.gov/nistpubs/ir/2026/NIST.IR.8547.pdf