← Back to section · Foundations of Cryptography
From Shor's Algorithm to the Post-Quantum Turn: How a 1994 Paper Rewrote the Future of Cryptography
In 1994 Peter Shor proved that a quantum computer can factor large integers and compute discrete logarithms efficiently, shaking the foundations of RSA and elliptic curves at the same time. Over the thirty years since, the field moved from shock and skepticism to a systematic migration project — and that is where post-quantum cryptography comes from.
Most turning points in the history of cryptography came from machines: rotor machines gave rise to the Bombe, and computers gave rise to DES. The turning point of 1994 came from a purely mathematical paper — describing a machine that did not exist at the time, yet sufficient to redirect thirty years of long-term security planning.
1994: one paper, two pillars
Peter Shor was then working at Bell Labs. In 1994 he published his quantum algorithms for factorization and discrete logarithms (the paper formally appeared in the SIAM Journal on Computing in 1997). The core idea is to convert the factoring problem into finding the period of a function, then use the quantum Fourier transform to extract period information in parallel from a superposition. On a classical computer, factoring a 2048-bit integer with the best number field sieve takes an astronomical amount of time; on a sufficiently large quantum computer, Shor’s algorithm needs only polynomial time — scale ceases to be an exponential wall and becomes merely an engineering problem.
The blast radius was total: RSA depends on integer factorization, Diffie-Hellman and DSA on discrete logarithms, and elliptic-curve schemes on ECDLP, and in the quantum setting discrete logarithms and ECDLP belong to the same solvable class as factoring. That is, the two mathematical pillars of public-key cryptography since 1976 were sentenced to death by a single paper — with the execution stayed, the term depending on the engineering progress of quantum computers.
By contrast, symmetric cryptography’s position is far milder: Lov Grover’s 1996 quantum search algorithm provides only a quadratic speedup, halving effective security strength, and the remedy is simply to double key and hash-output lengths — AES-256 and SHA-384 are therefore considered secure in the quantum era. The quantum risk to cryptography was asymmetric from the start: the public-key system is wounded to the bone, the symmetric system only grazed.
Thirty years of reprieve: from disbelief to scheduling
The initial reaction was skepticism. The quantum computers of the 1990s could manipulate only a handful of qubits, with severe decoherence, nowhere near the millions of physical qubits (yielding thousands of logical qubits after error correction) that running Shor’s algorithm requires. But over the following thirty years, superconducting and trapped-ion platforms advanced steadily, quantum error correction achieved principled breakthroughs in the 2020s, and “when” gradually changed from a philosophical question into a planning question.
What truly changed decisions was a simple inference, later summarized as Mosca’s inequality: if the secrecy lifetime of your data (X) plus the time needed to migrate to new systems (Y) exceeds the time until the quantum threat arrives (Z), you are already late. Add “harvest now, decrypt later” — an adversary can record all encrypted traffic today and decrypt it once quantum computers mature — and the conclusion is unforgiving: for data with secrecy lifetimes measured in decades (medical records, state secrets, long-term contracts), the risk exposure starts counting from today. Governments have accordingly published explicit schedules: the U.S. CNSA 2.0 suite, for example, requires national security systems to complete the transition to post-quantum algorithms in phases between 2025 and 2033.
The response: post-quantum cryptography and a new selection
The field’s answer was not to patch RSA but to change the foundations: to find new mathematical problems hard for classical and quantum attacks alike — the shortest-vector problem on lattices, the one-wayness of hash functions, the decoding problem of error-correcting codes. These candidates are collectively called post-quantum cryptography (PQC); they still run on ordinary computers, only the underlying problem has changed.
The selection followed the open paradigm established by the AES competition: NIST launched its post-quantum standardization in 2016, receiving 82 submissions worldwide (69 entered the first round), winnowed through three rounds of public review to a final set; in 2022 it announced the first selected algorithms (CRYSTALS-Kyber for key encapsulation and three signature schemes); and in August 2024 the first three standards were formally published — FIPS 203 (ML-KEM, from Kyber), FIPS 204 (ML-DSA, from Dilithium), and FIPS 205 (SLH-DSA, from SPHINCS+). Meanwhile industry did not wait for the standards to land: since 2023, mainstream browsers and CDNs have enabled hybrid key exchange combining X25519 with ML-KEM by default, and high-traffic messaging applications have completed protocol upgrades — protecting data in transit first is the direct product of the “harvest now, decrypt later” logic.
The engineering reality of migration: why changing foundations is so hard
A clear direction does not mean an easy road. Post-quantum keys and signatures are far larger than ECC’s: an ML-KEM-768 public key is 1,184 bytes, an SLH-DSA signature can reach tens of thousands of bytes, while an X25519 public key is only 32 bytes. Certificate chains, handshake messages, and the storage and bandwidth of embedded devices all have to be re-accounted for this “size tax”; some legacy protocols cannot even fit post-quantum parameters in their length fields.
Industry’s answer follows two lessons. The first is hybrid mode: run a classical and a post-quantum algorithm in parallel, taking the security of the stronger — guarding against the quantum future without betting everything on the maturity of new algorithms; the Internet’s default handshake today is exactly the hybrid of X25519 and ML-KEM. The second is cryptographic agility: make algorithms replaceable configuration rather than hard-coded logic. This lesson comes directly from the RSA-to-ECC migration — systems that welded RSA into their protocols and hardware paid dearly to retrofit in the ECC era. History does not repeat itself, but the structure of migration bills always rhymes.
The third change of foundations
Looking back over the whole arc: the foundation of classical cryptography was secrecy of method, and frequency analysis replaced it with mathematical problems; number-theoretic problems reigned for half a century, and quantum algorithms have now replaced them with quantum-resistant problems. Each change came not because the old system was “not good enough,” but because the attacker’s capability had leapt a generation. What is special about this change is that it is a preventive migration, coordinated by standards bodies and industry before the threat has fully arrived — for the first time, cryptography is trying to run ahead of the attacker. What this site documents is precisely that migration in progress: its standards, its engineering, and its timetable.
Tags: Shor's algorithmpost-quantum cryptographyquantum computingmigration