Lattice-based cryptography builds encryption and signatures on hard problems about lattices: regular grids of points in many dimensions. It is the basis of most new post-quantum standards, among them ML-KEM, ML-DSA and Falcon, because no quantum algorithm is known that solves these problems at real sizes.
The idea in two dimensions
Take two arrows (the basis) and add them up in whole steps, forwards and backwards: every point you can reach forms a lattice. The same lattice can be described by short, nearly square arrows (a good basis) or by long, almost parallel ones (a bad basis). With the good basis it is easy to find the lattice point closest to any spot. With the bad basis it is hard. In two dimensions you can still see the answer; in 500 or 1,000 dimensions nobody can. That difference is a natural pair of private and public key.
The hard problems
- Shortest vector problem (SVP): find the shortest non-zero point of the lattice.
- Learning with errors (LWE): solve a system of linear equations where every result has a small random error added. Without the errors it is school algebra; with them it is believed to be hard. Oded Regev introduced it in 2005.
- Module-LWE: LWE with extra structure, which makes keys much smaller and faster. ML-KEM and ML-DSA use it.
Structure is a trade-off
The extra structure that keeps keys small is also something an attacker can try to use. In 2026 two AI results did exactly that: Anthropic's model found a symmetry that weakened the signature candidate HAWK, and a quantum algorithm against module lattices that only works at sizes far beyond real keys. Plain LWE without structure, code-based and hash-based schemes were not affected. More in Did AI break encryption?