Why Look Beyond RSA and Elliptic Curves?
For decades, public-key cryptography has relied on problems like factoring large integers or computing discrete logarithms over finite fields and elliptic curves. In 1994, Peter Shor demonstrated that a sufficiently large quantum computer could solve both problems efficiently via quantum period-finding.
To prepare communications for a post-quantum era, cryptographers turned toward mathematical structures where no polynomial-time quantum algorithm is known to break the underlying hardness assumptions. One of the strongest candidates is lattice-based cryptography.
What Is a Lattice?
Formally, given linearly independent vectors , the lattice generated by the basis matrix is the set of all integer linear combinations:
Unlike a vector space over , where scaling is continuous, a lattice is a discrete subgroup of . Every lattice in dimension has infinitely many different bases—some "good" (nearly orthogonal, short vectors) and many "bad" (skewed, very long vectors).
The Shortest Vector Problem (SVP)
The foundational hard problem on lattices is the Shortest Vector Problem (SVP): given an arbitrary basis for a lattice , find a nonzero vector minimizing the Euclidean norm .
In two dimensions, Gauss's lattice reduction algorithm solves SVP effortlessly. As the dimension grows into the hundreds, however, finding short vectors—or even approximating the shortest vector within small polynomial factors—requires exponential time in the best known classical and quantum algorithms.
From Geometry to Learning With Errors (LWE)
In 2005, Oded Regev introduced the Learning With Errors (LWE) problem, connecting worst-case lattice problems to an algebraic formulation ideally suited for encryption and key exchange.
In LWE, we fix a modulus , a dimension , and an error distribution over producing small noise . Given pairs where is uniform and:
the task is to recover the secret vector . Without the error terms , Gaussian elimination solves the system in operations. Adding small random noise destroys exact linear algebra—turning an easy system into a problem conjectured to be intractable even for quantum computers.
Connection to NIST PQC Standards
Modern standardized schemes—such as ML-KEM (FIPS 203) for key encapsulation and ML-DSA (FIPS 204) for digital signatures—build on Module-LWE, replacing unstructured vectors with modules over polynomial rings . This algebraic structure enables fast computation using the Number Theoretic Transform (NTT) while keeping key sizes practical for real-world protocols.
