NDOVU · AUDIO EXPLAINER · LISTEN
Keys: space/K play-pause · J/L jump 10s · arrows on the waveform nudge 5s
The full briefing transcript, timed to the audio. Click any line to jump there; the current line lights up while you listen.
A lattice is an infinite, regularly repeating grid of points. Pick some linearly independent basis vectors, directions that cannot be built from each other, and the lattice is every point reachable by adding whole-number multiples of them, and nothing else. In two dimensions it is graph paper pulled slightly off square; in three, the atom arrangement of a crystal. Deployed cryptography runs the same construction in hundreds of dimensions, and there the dimension count is the security dial. The best known algorithms for finding short lattice vectors take exponential time in the dimension, quantum computers included, while a short, near-orthogonal basis makes the same grid easy to navigate. Cryptography's bet is that such a good basis is hard to find, and ML-KEM and ML-DSA, the NIST standards for key establishment and signatures, rest on it. The bet has two parts: a geometry gap between short bases and long ones, and noise, equations that almost hold. In the next few minutes: the geometry, the noise, the ring structure that makes the keys practical, and where the 2026 attack pressed.
Any two independent vectors whose whole-number combinations cover the point set are a basis of the lattice, and one lattice holds many. A good basis is short and near-orthogonal, its vectors close to perpendicular; a bad basis is long and skewed. Both generate exactly the same dots, and the difference is what each hands its holder: with the good basis, the lattice's shortest vectors are the basis vectors themselves; with the bad basis, they are unobvious combinations, differences of long arrows that no eye spots. Two computational problems carry the security, both stated against an arbitrary, possibly bad basis. The shortest-vector problem asks for the shortest nonzero lattice vector; the closest-vector problem asks for the lattice point nearest a target that sits off the grid. Neither has a known polynomial-time algorithm at cryptographic accuracy. The workhorse approximation, the LLL algorithm from 1982, runs in polynomial time but returns vectors only within an exponential factor of the true shortest, and the best exact solvers need exponential time in the dimension. That exponential wall is the security margin.
Learning with errors turns the geometry into algebra. A prover holds a secret vector s and publishes pairs: each pair carries a random vector a and a value b equal to the dot product of a with s, taken modulo some modulus q, plus a small error drawn from a narrow range, say minus one to one. Each pair is one approximate equation in s; the noise is the only difference from a schoolbook linear system. The worked system on the source page is small enough to check by hand: four samples over one secret, modulus 17, secret vector (3, 5). Row one by hand: 2 times 3 plus 7 times 5 is 41, which leaves remainder 7 after dividing by 17; the error is plus one, so the published value is 8. Had the pairs carried no error, Gaussian elimination, the standard procedure of adding multiples of one equation to another to cancel variables, would recover the secret from them alone. With the errors in place, every elimination step adds errors together, and the combined error drowns the signal before the last variable cancels. The best known recovery algorithms, quantum ones included, take exponential time in the secret's length. And the hardness has a worst-case floor: Regev proved in 2005 that an algorithm solving learning-with-errors would yield algorithms approximating the shortest-vector problems of every lattice, the hardest instances included, and Peikert later made that reduction classical. Average-looking samples inherit the difficulty of the worst case, which is why a random-looking public key can carry a precise assumption.
Plain learning-with-errors keys are heavy: the published vectors must be unpredictable, so a public key carries on the order of n squared numbers. Ring structure cuts that to about n. Replace plain vectors with polynomials of degree n minus one under a wraparound rule, where X to the n behaves as minus one, and one published element generates the whole matrix: every row after the first is that element's coefficients rotated and negated. A Fourier-style fast multiply, the number-theoretic transform, speeds the arithmetic. The structure was the worry, and the hardness survived it: ring learning-with-errors ties its security to worst-case problems on ideal lattices, the subfamily carrying the ring's wraparound symmetry, and no known algorithm exploits that symmetry; the best known running times on ideal lattices match the general ones. The deployed standards sit on this structured side. ML-KEM fixes two ring constants for every security level, polynomial degree 256 and modulus 3329, and security rises with the module rank, a stack of two, three, or four ring elements in ML-KEM-512, -768, and -1024, underlying lattices of 512, 768, and 1024 dimensions. ML-DSA signs over module lattices in the same family.
The 2026 quasi-polynomial quantum attack on module-lattice problems pressed exactly on this boundary. Its advantage is asymptotic: it grows as the ring degree grows. The standards raise the rank instead, holding the degree fixed at 256, so the asymptotic growth never meets the deployed parameters, and the same disclosure reported no improved classical attacks on mainstream schemes of either flavor. That is the shape of the whole subject in one line: the geometry gives an exponential wall, the noise turns it into equations a public key can carry, the ring structure makes the keys small enough to ship, and the security argument survives each step, watched by attacks that keep pressing and parameters that keep answering.