The Promise Inside Every Encrypted Connection Has an Expiry Condition

Post-quantum cryptography is the family of public-key algorithms built on mathematical problems that a large quantum computer is not expected to solve, designed to replace the factoring and discrete logarithm systems that secure key exchange and digital signatures. The replacement works by changing the hard problem underneath the key. Where a Rivest-Shamir-Adleman key rests on the difficulty of splitting a product of two large primes, and an elliptic curve key rests on the difficulty of reversing repeated point addition, a lattice key rests on the difficulty of finding short vectors in a high-dimensional grid perturbed by small errors, and a hash-based signature rests on nothing beyond the resistance of a hash function to inversion and collision. The thesis defended across the sections that follow is that the quantum threat to public-key cryptography is real but narrow, that it breaks two specific mathematical structures rather than encryption in general, and that the genuine difficulty of the post-quantum transition is not inventing resistant algorithms, which exist and are standardized, but finding, replacing and re-certifying the old algorithms inside systems that were built on the assumption that a key, once chosen, would never need to change. Every other question in the field, from key sizes to migration deadlines to the economics of recorded traffic, is a consequence of those three facts arranged in that order.
The narrowness of the threat deserves emphasis at the outset because public discussion routinely inflates it. A quantum computer running the algorithm published by Peter Shor in 1994 does not read encrypted files, does not guess passwords and does not weaken the symmetric ciphers that actually scramble the bulk of the data in a connection. It solves two problems, integer factorization and the discrete logarithm, with an efficiency that no classical method approaches, and those two problems happen to be the entire foundation of the public-key layer: the part of a secure connection that agrees on a shared secret between strangers and the part that proves which stranger is which. Post-quantum cryptography therefore does not rebuild encryption. It rebuilds the agreement and the proof, and it leaves the scrambling layer almost untouched apart from a doubling of key lengths that the sections on symmetric cryptography explain. A reader who holds that division firmly, public key exposed and symmetric layer largely intact, can place every subsequent claim in the field without confusion, because nearly every error in popular accounts comes from treating cryptography as one thing rather than as a layered construction in which only one layer carries the quantum risk.
The Threat Model: An Adversary Who Records First and Computes Later
A security claim means nothing until the adversary is named, and the adversary in the post-quantum problem is unusual in one respect that drives the whole field: the attack begins before the weapon exists. The standard threat model assumes an intelligence service, a criminal archive or a data broker with the storage capacity to record encrypted traffic in bulk and the patience to hold it for years. Internet traffic crossing a backbone link can be copied passively, without disturbing the connection and without the knowledge of either endpoint, and a recorded session protected only by a classical key exchange carries its own undoing inside it. The recording preserves the public values exchanged at the start of the session, and once a sufficiently capable quantum computer exists, those preserved values yield the session keys, and the session keys open the recorded bulk data as if it had been stored in the clear. The asset at risk is therefore not every encrypted message but specifically the information whose secrecy must outlive the arrival of the machine: state communications, medical records, legal files, trade secrets, identity documents and any archive whose sensitivity is measured in decades rather than in news cycles.
This structure explains a feature of the field that otherwise looks paradoxical, namely that migration deadlines are set years before any machine capable of running the relevant attack has been demonstrated. Michele Mosca, a founder of the Institute for Quantum Computing at the University of Waterloo, compressed the logic into an inequality that practitioners cite as the Mosca theorem. If the number of years a secret must remain secret, added to the number of years a migration takes, exceeds the number of years until a cryptographically relevant quantum computer arrives, then the exposure has already begun, whatever the arrival date turns out to be. The inequality matters because two of its three terms are under the control of the defender and are known to be long. Large organizations measure migration in years because cryptography hides inside libraries, protocols, hardware modules and vendor products, and the secrecy lifetimes of the most sensitive records are measured in decades by law, by treaty practice and by the simple fact that a genome or an identity does not expire. The third term, the arrival date, is the only unknown, and the inequality shows why uncertainty about it does not justify delay: a defender who waits for a firm date has already spent the migration term doing nothing.
What does harvest now, decrypt later mean?
Harvest now, decrypt later describes an adversary recording encrypted traffic in bulk and storing it until a quantum computer can break the recorded key exchanges, exposing the sessions in retrospect. The strategy costs storage rather than computation, leaves no trace on the connection, and makes the secrecy lifetime of the data, not the machine’s arrival date, the real migration deadline.
The recorded-traffic model also disciplines which systems migrate first. A session carrying a software download whose contents are public gains nothing from the archive, because the plaintext was never secret. A virtual private network tunnel carrying an intelligence archive, a hospital network carrying patient histories or a banking link carrying settlement instructions gains everything, because the plaintext remains damaging for decades. Migration programs that begin from the threat model therefore rank systems by the secrecy lifetime of what they carry, and migration programs that begin from an inventory of software versions routinely spend their first budgets on systems whose exposure is trivial. The distinction between those two starting points, asset lifetime against software inventory, recurs throughout the field and separates the programs that reduce risk from the programs that merely produce reports.
The Second Adversary: Error Rates, Scale and the Honest State of the Machine
The second half of the threat model concerns the machine itself, and precision here is a defense against both complacency and panic. A cryptographically relevant quantum computer is not a larger version of the laboratory devices that dominate research announcements. Breaking a two thousand forty-eight bit RSA key with the algorithm of Shor requires thousands of logical qubits, meaning error-corrected computational units each assembled from many physical qubits, sustained across a computation long enough that the error correction must succeed continuously rather than in a demonstration lasting microseconds. Estimates in the literature, including the resource analysis published by Craig Gidney and Martin Ekera in 2021, put the requirement in the region of twenty million noisy physical qubits running for hours under stated assumptions about error rates and gate speeds, and later refinements have moved the figures in both directions without changing the order of the gap between that requirement and any hardware that exists. The honest statement is that no machine publicly known approaches the threshold, that the engineering path toward it is understood in outline, and that the rate of progress along that path is the contested variable on which reasonable specialists disagree by decades.
That disagreement is itself part of the evidence an article on this subject must handle carefully, because the field contains two documented failure modes of judgement. The first is the confident prediction, repeated across decades of computing history, that a hard engineering problem will yield on a schedule set by enthusiasm. The second is the equally confident dismissal that treats a problem as permanently out of reach because the present gap is wide, a judgement that the history of flight, of nuclear physics and of the transistor each punished in turn. Post-quantum cryptography exists precisely because neither judgement needs to be resolved. The standardized algorithms cost their adopters larger keys, heavier signatures and a migration program, which are bounded and budgetable harms, while the cost of needing them and lacking them is the retrospective exposure of every recorded long-lived secret, which is neither bounded nor recoverable. Security engineering under asymmetric costs does not wait for certainty, and the asymmetry, rather than any prediction about a date, is the load-bearing argument for migration.
A further element of the threat model is routinely omitted and belongs in any complete account: the quantum adversary is not the only reader of recorded traffic, and the post-quantum algorithms must also resist the classical adversary who never went away. A lattice scheme that resisted quantum attack while falling to a clever classical method would be a failure, and the standardization process treated classical cryptanalysis as a first-class test, eliminating candidates that weakened under conventional attack. The security claim for a standardized algorithm is therefore double: no known classical method and no known quantum method solves the underlying problem at the stated parameters, within margins that the sections on lattices describe. Claims in the field should always be read with that double structure in mind, because a headline announcing that a scheme resists quantum computers says nothing, on its own, about whether it resists the computers that already fill the data centers of every intelligence service on earth.
What Public-Key Cryptography Actually Guarantees
The mechanism the quantum attack threatens was introduced in 1976, when Whitfield Diffie and Martin Hellman published the paper that founded public-key cryptography and showed that two parties who had never met could agree on a shared secret over a channel that an eavesdropper fully observed. The construction rests on a one-way asymmetry. Multiplying two large primes is cheap; recovering them from the product is, for classical machines, beyond reach at the sizes used in practice. Raising a generator to a secret power modulo a prime is cheap; recovering the secret power from the result, the discrete logarithm problem, is comparably hard. A year later Ronald Rivest, Adi Shamir and Leonard Adleman turned the factoring asymmetry into a complete system for both encryption and signatures, and the elliptic curve variants developed independently by Neal Koblitz and Victor Miller in 1985 compressed the same discrete logarithm asymmetry into far smaller keys by moving it onto the geometry of curves. Every secure web connection, every signed software update, every encrypted email system and every payment network since then has stood on one of those two asymmetries, a concentration of trust in two mathematical problems that seemed, for half a century, like a strength, because the problems had resisted the best efforts of generations of mathematicians.
The guarantee a public-key system offers is precise and should be stated precisely. A key encapsulation or key exchange protocol guarantees that an adversary who observes the public values and controls the network cannot compute the shared secret, under the assumption that the underlying problem is hard for the adversary’s class of machine. A digital signature guarantees that a forgery implies either possession of the private key or a solution to the underlying problem, again under a hardness assumption. Neither guarantee says anything about the honesty of the endpoints, the safety of the software, the secrecy of a key stored carelessly or the resistance of the system to an adversary who simply persuades a human to hand over a credential. Cryptography of every generation, classical or post-quantum, protects a channel and an attribution; it has never protected a careless organization from itself, and the migration literature is at its worst when it implies otherwise. The point matters for the sections on limits near the close, where the boundary of what new algorithms can fix is drawn in full.
Kerckhoffs’s principle, stated by Auguste Kerckhoffs in 1883 for military ciphers and never since refuted, holds that a system must remain secure even when everything about it except the key is public knowledge. The principle explains why the post-quantum transition can be discussed openly, standardized in public competitions and implemented in open libraries without weakening it: the security of a lattice key resides in the secret error and the private basis, not in any secrecy about the algorithm. It also explains why the discovery that an algorithm is weak, when it comes, arrives as mathematics rather than as espionage. The two classical asymmetries fell, in the end, not to a stolen secret but to a published algorithm in 1994 that changed what the word hard meant for them, the moment the next section reconstructs.
Shor’s Algorithm and the Shape of the Break
Peter Shor, then at Bell Labs, published the algorithm that bears his name in 1994, in a paper that solved both integer factorization and the discrete logarithm problem in time polynomial in the size of the input on a quantum computer. The mechanism, described conceptually and without any operational detail, exploits a structural feature shared by both problems: each can be restated as the problem of finding the period of a function, the hidden rhythm at which a sequence of values repeats. A quantum computer can hold a superposition of many inputs at once, evaluate the function across that superposition and then use a quantum Fourier transform to extract the period from interference patterns that cancel everywhere except at multiples of the true period. From the period, elementary classical arithmetic recovers the factors or the logarithm. The decisive property is the scaling. Classical factoring methods, of which the general number field sieve is the strongest known, grow faster than any polynomial in the size of the key, which is why doubling a key length once bought enormous safety margins. The method of Shor grows polynomially, which collapses those margins entirely: at quantum scale, a key twice as long is a computation modestly longer, not a computation beyond reach.
What is a cryptographically relevant quantum computer?
A cryptographically relevant quantum computer is a machine with enough error-corrected logical qubits, sustained long enough at low enough error rates, to run the algorithm of Shor against deployed key sizes such as a two thousand forty-eight bit RSA modulus. The term separates that threshold from laboratory devices, which remain orders of magnitude away from threatening any deployed key.
The shape of the break carries three consequences that structure the rest of the field. First, the break is total for the affected systems rather than gradual: a factoring capability does not erode an RSA key the way cryptanalysis erodes a cipher over decades, it removes the hardness assumption in a single step, so there is no partial credit for having chosen a somewhat larger key. Second, the break applies symmetrically to key exchange and to signatures built on the same problems, which is why both halves of the public-key layer require replacement even though, as the signature sections show, they migrate on very different clocks. Third, the break was published twenty years before any hardware remotely capable of executing it, an inversion of the usual order in which weapons precede defenses, and that inversion is the only reason a calm, competitive, multi-year standardization process was possible at all. The defenders were given the rarest gift in security history: a dated, peer-reviewed announcement of the exact mathematical form their failure would take, with the engineering still outstanding.
Why Symmetric Ciphers Survive: Grover’s Algorithm and the Doubling Answer
Against symmetric cryptography, the quantum arsenal holds a far weaker weapon, and the difference between the two weapons is the single most clarifying fact in the entire subject. Lov Grover published his search algorithm in 1996, showing that a quantum computer can search an unsorted space of possibilities in roughly the square root of the number of trials a classical machine would need. Applied to a symmetric cipher key, the effect is to halve the effective key length measured in bits of security: a one hundred twenty-eight bit key offers, against a quantum search, roughly the resistance of a sixty-four bit key offered against a classical one. Sixty-four bits of resistance is not enough, but the remedy is embarrassingly simple compared with replacing an entire mathematical foundation. Doubling the key length restores the margin in full, which is why the Advanced Encryption Standard at two hundred fifty-six bits is treated across government and industry guidance as quantum resistant without modification, and why hash functions answer the same pressure by moving to longer outputs, with the SHA-384 and SHA-512 functions named in the National Security Agency’s CNSA 2.0 suite for exactly this reason.
Can a quantum computer break AES-256 encryption?
A quantum computer applying the search method of Grover to a two hundred fifty-six bit Advanced Encryption Standard key faces about one hundred twenty-eight bits of effective resistance, beyond any projected capability, the best speedup a quantum machine achieves against an unstructured search. The symmetric layer therefore survives with longer keys rather than new mathematics.
The contrast between the two algorithms explains the otherwise puzzling selectivity of the migration. Nothing in the post-quantum program replaces the cipher that encrypts the data itself, the hash functions that fingerprint it or the message authentication codes that protect its integrity, beyond parameter increases that were largely adopted years in advance. What the program replaces, exclusively, is the pair of constructions that depended on factoring and discrete logarithms: key establishment, where two strangers agree on a secret, and digital signatures, where one party proves authorship or identity. An organization auditing its exposure that finds its data encrypted with long symmetric keys and its key establishment performed by elliptic curve Diffie-Hellman has exactly one quantum problem, located in the handshake, and an organization that conflates the two layers will waste its budget re-encrypting data that was never at risk while leaving the handshake exposed. Precision about which layer fails is not pedantry; it is the difference between a migration plan and an expensive misunderstanding.
Lattices: The Geometry That Replaces Factoring
The family that won the standardization contest rests on lattices, regular grids of points in spaces of hundreds of dimensions, and on the observation that certain innocent-looking problems about such grids resist every known algorithm, classical and quantum alike. The central problems have names that describe their shape. The shortest vector problem asks for the nonzero grid point closest to the origin, a question that is easy to state in two dimensions, where a glance settles it, and brutally hard in five hundred dimensions, where the number of candidate directions defeats enumeration and the geometry defeats intuition. The learning with errors problem, introduced by Oded Regev in 2005, asks for a secret vector hidden inside a set of approximate linear equations, where each equation has been perturbed by a small random error. Regev’s contribution, recognized as one of the foundational results of modern cryptography, was a reduction: a proof that solving learning with errors on average is at least as hard as solving certain worst-case lattice problems, which converted a plausible hardness intuition into a mathematical argument of the strongest available kind. A quantum algorithm for the average problem would imply a quantum algorithm for the worst case of the lattice problems, and no such algorithm is known.
The practical schemes add structure to gain efficiency. Raw learning with errors produces keys too large for routine use, so the standardized constructions work over polynomial rings and modules, arrangements that compress the grid into algebraic objects small enough to transmit while preserving, on the evidence of two decades of cryptanalysis, the hardness that the unstructured problem promises. This is the first place where intellectual honesty is required, because the structured variants rest on assumptions that are newer and less battle-tested than the factoring assumption was in its prime. Factoring had been studied since antiquity and attacked seriously since the nineteen seventies; module lattice assumptions date, in their deployed form, from the twenty-first century. The standardization process compensated for that youth with conservative parameter choices, with security margins intended to absorb a generation of cryptanalytic progress, and with a deliberate diversity of families, so that a failure in lattice assumptions would still leave hash-based and code-based schemes standing. The sections on the diversity bench return to that insurance policy, which is one of the most instructive design decisions in the whole program.
A lattice key, in the mechanism that matters here, is built by publishing the approximate equations and withholding the secret. Anyone can use the public equations to wrap a message or a session key in further layers of the same structured noise, producing a ciphertext that the holder of the secret can unwrap because the secret cancels the structured part and leaves the small errors exposed as removable, while an attacker faces the full problem of separating signal from noise without the key. The elegance of the arrangement is that the same noise that makes the problem hard is the noise the legitimate receiver is positioned to subtract. Error, which in most of engineering is the enemy, is in lattice cryptography the load-bearing element, and the size of that error, tuned between a floor below which the problem becomes tractable and a ceiling above which legitimate decryption begins to fail, is the central parameter judgement in every scheme of the family.
Learning With Errors: Noise as a Security Property
The learning with errors mechanism deserves a slower pass, because it inverts an intuition that most readers bring from school mathematics, where a system of linear equations is the canonical example of a problem with a clean method and an exact answer. With enough exact equations in a set of unknowns, elimination recovers the secret mechanically, and the work grows modestly with the size of the system. Introduce a small error into every equation, a perturbation drawn from a narrow distribution and unknown to the solver, and the character of the problem changes completely. Elimination now amplifies the errors instead of cancelling them, the equations stop agreeing with one another in any way a solver can exploit, and the search for the secret becomes a search through an exponential space in which nearly every candidate fits the data almost as well as the truth. Regev’s 2005 paper, published in the proceedings of the ACM Symposium on Theory of Computing, established the quantum reduction from worst-case lattice problems that gave this observation its authority, and the subsequent two decades of work, by researchers including Zvika Brakerski, Vinod Vaikuntanathan and the teams behind the eventual standards, turned the raw problem into efficient, implementable cryptography.
The error distribution is where the engineering judgement lives, and it illustrates a pattern that recurs across the post-quantum families: security and correctness pull against each other through a single dial. Larger errors make the attacker’s separation problem harder and the legitimate receiver’s task harder in the same motion, because the receiver’s advantage is a matter of degree, the ability to remove most but not all of the noise, and a decryption failure, where the residual noise overwhelms the message, is a correctness failure with a probability that must be driven to negligible levels for a key establishment scheme to be usable at internet scale. Scheme designers therefore publish failure probabilities alongside security estimates, a practice with no real analogue in the factoring world, where decryption either works or the key was wrong. A reader comparing post-quantum schemes who sees only key sizes and speed figures is missing the third column of the comparison, the engineered rarity of honest failure, and the standardization record shows evaluators weighing exactly that column when candidates were eliminated.
There is also a historical point embedded in the mechanism that the field’s historians note with satisfaction. The idea that noise protects information is the founding insight of Claude Shannon’s theory of secrecy systems, and the learning with errors construction is, in a precise sense, Shannon’s insight rebuilt inside algebra: a channel deliberately worsened for everyone, combined with a secret that tells one receiver how to clean it. The post-quantum era did not abandon the intellectual tradition of the field it replaced. It returned to the tradition’s deepest idea and rebuilt the public-key layer on top of it, after the factoring detour of half a century had run its course.
Hash-Based Signatures: Security From a Single Assumption
The second standardized family takes the opposite design philosophy from lattices: instead of a rich algebraic structure with a young hardness assumption, it builds signatures from nothing but a hash function, the most conservative and most studied primitive in all of cryptography. The idea is old. Ralph Merkle proposed tree-based signatures in 1979, building on the one-time signature scheme of Leslie Lamport, in which a private key can sign exactly one message safely by revealing selected halves of a set of secret values whose hashes form the public key. A one-time scheme is a curiosity until the Merkle tree removes the limitation: hash many one-time public keys together level by level until a single root hash remains, publish the root as the public key, and a signature consists of one one-time signature plus the chain of sibling hashes that authenticates that leaf against the root. The security of the whole construction reduces to the collision and preimage resistance of the hash function, properties that a quantum computer weakens only by the square root factor of Grover, which longer outputs answer. No factoring, no discrete logarithms, no lattices, no algebraic structure for a future algorithm to exploit, because there is almost no structure present at all.
The standardized form, SLH-DSA, published by the National Institute of Standards and Technology as FIPS 205 in August 2024 and built on the SPHINCS+ design of Daniel Bernstein and collaborators, pays for that conservatism in size and speed. Signatures run to tens of kilobytes where an elliptic curve signature needs sixty-four bytes, and signing involves hashing on a scale that makes the operation slow by the standards of high-volume systems. The construction is also stateless by design, a property whose importance is easy to miss. Earlier hash-based schemes were stateful, requiring the signer to track which one-time keys had been used, because reuse of a one-time key is catastrophic, and a state error, a restored backup, a cloned virtual machine, silently reuses keys and destroys the security of everything signed afterward. Stateless designs spend size and computation to make that operational disaster impossible by construction. The trade is characteristic of mature security engineering: the scheme accepts a permanent performance cost to eliminate an entire category of human and operational failure, and its role in the standards portfolio is precisely to be the conservative option, the signature scheme an organization can choose when it values the age and simplicity of the assumption above every performance figure.
Module Lattices and the Signature Problem
Signatures posed a harder problem than key establishment, and the standardized answer, ML-DSA, published as FIPS 204 in August 2024 and derived from the Dilithium design of Léo Ducas, Vadim Lyubashevsky and their collaborators, shows why. A signature scheme must let a signer prove possession of a secret without revealing anything that accumulates across thousands of signatures into knowledge of the secret itself, and the early lattice signature designs leaked exactly that way: each signature exposed a noisy linear relation involving the secret, and enough signatures let an observer average the noise away. The technique that closed the leak, rejection sampling, was developed by Lyubashevsky from 2009 onward and works by having the signer discard and restart any signature whose shape would carry information about the secret, shaping the published distribution until it is statistically independent of the key that produced it. The signer does more work, some attempts are thrown away, and the published signatures, in compensation, teach an observer nothing beyond the fact of their validity. The mechanism is a small masterpiece of the field’s characteristic reasoning: the flaw was not in the hardness of the problem but in the statistics of the transcript, and the fix was statistical rather than algebraic.
Size is the signature problem’s other half, and it is worth stating the figures plainly because they drive real deployment decisions. An ML-DSA public key at the middle security level occupies about thirteen hundred bytes and a signature about twenty-four hundred bytes, against thirty-two and sixty-four bytes for their elliptic curve counterparts. ML-KEM, the key establishment standard published as FIPS 203 and derived from the Kyber design of Joppe Bos, Ducas and collaborators, carries public keys of about eight hundred to sixteen hundred bytes depending on the parameter set. These are not crippling sizes, a web page routinely moves more data in a single image, but they are not free either: they enlarge every handshake, every certificate and every stored signature, they overflow buffers in protocols designed when keys were small, and in constrained environments, embedded controllers, smart cards, satellite links, the enlargement can be the difference between a protocol that fits its channel and one that does not. The honest summary is that post-quantum cryptography is computationally fast, often faster than the elliptic curve operations it replaces, and geometrically large, and that the migration is therefore an engineering problem about space and plumbing far more than a problem about processor speed.
Code-Based and Other Families: The Diversity Bench
The standardization portfolio deliberately keeps other families in reserve, and the reasoning is the portfolio logic of an investor who remembers that every previous generation of cryptography eventually produced a surprise. Code-based cryptography is the elder of the reserves. Robert McEliece published his scheme in 1978, a year after RSA, building encryption on the difficulty of decoding a general linear error-correcting code, a problem whose hardness has been studied since the nineteen seventies and against which the algorithm of Shor gains nothing, because decoding lacks the periodic structure the quantum method exploits. The McEliece design survived nearly five decades of cryptanalysis with its security essentially intact, and its disqualifying flaw was always the same: public keys measured in hundreds of kilobytes to megabytes, acceptable in few settings. The National Institute of Standards and Technology selected HQC, a code-based key establishment scheme with smaller keys, in March 2025 as a backup to ML-KEM, to be standardized so that a catastrophic lattice failure would leave a dissimilar alternative ready rather than a research program to be started under emergency conditions.
The cautionary tale that justifies the bench is SIKE, an isogeny-based candidate that reached the fourth round of the standardization process on the strength of the smallest keys in the competition, and fell in 2022 to a classical attack, executed by Wouter Castryck and Thomas Decru on ordinary hardware, that recovered keys in hours by exploiting mathematical structure the design had carried since its proposal. No deployed system depended on SIKE, because the process had kept it a candidate, and that is the point: the competition format, with years of public cryptanalysis before standardization, is itself a security mechanism, arguably the most important one in the program. Other families populate the wider literature, multivariate schemes built on systems of quadratic equations, most of which have fallen to attack, and the forthcoming FN-DSA, derived from the Falcon design, which uses floating-point lattice sampling to achieve the smallest lattice signatures at the cost of implementation complexity that has slowed its standardization. The bench is not decoration. It is the institutional memory of SIKE, written into procurement policy.
Where the Old Keys Sit: The Stack From Cable to Certificate
A vulnerability class matters in proportion to where it sits, and classical public-key cryptography sits everywhere. The inventory problem begins with the visible layer, the Transport Layer Security handshake that opens an encrypted web or application connection, where elliptic curve key exchange agrees the session keys and a certificate signature authenticates the server. Beneath it sit virtual private networks running IKE key exchange, secure shell connections to servers, the S/MIME and OpenPGP signatures on email, the Domain Name System signatures of DNSSEC, the code-signing certificates that vouch for software updates and operating system components, the document-signing infrastructure of governments and courts, the payment terminals whose key management descends from the same mathematics, and the embedded certificates burned into devices at manufacture, from industrial controllers to medical equipment to vehicles, many of which will operate for decades with no update path at all. The same session mathematics that a browser negotiates in milliseconds is negotiated, with longer consequences, inside the encrypted packages and license keys that govern a cinema screening, where a key delivery failure closes a show, a reminder that public-key infrastructure is not an abstraction but a physical dependency distributed across industries that never describe themselves as cryptography users.
The stack position explains why migration cannot be performed as a software upgrade in the ordinary sense. Each layer has its own standards body, its own vendor ecosystem, its own certification regime and its own replacement cycle, and the layers interlock: a browser can support lattice key exchange only when servers offer it, servers offer it when libraries implement it, libraries implement it when standards define the exact encodings, and standards move at the speed of committees that must keep the whole network interoperable while it changes. The Internet Engineering Task Force, the body that standardizes the protocols of the internet, spent years on the encoding questions alone, how a hybrid key is represented in a handshake, how a larger certificate is fragmented across a connection, because a technically superior algorithm that breaks middleboxes, the inspection devices scattered through real networks that drop unfamiliar traffic, is a superior algorithm that does not deploy. Post-quantum migration is therefore best understood as a coordination problem wearing a mathematical costume, and the sections on economics return to the cost that coordination imposes and the reasons rational organizations delay it.
Certificates and the Chain of Trust Problem
Of all the layers, the certificate system migrates slowest, and the reason is structural rather than technical. A certificate is a signature by an authority binding a name to a public key, and certificates chain: a root authority signs an intermediate authority, which signs the server certificate, so a verifier must check several signatures and hold several public keys to validate a single connection. Replacing the algorithms multiplies the size of every element in that chain at once, and the chain’s roots sit in trust stores, curated lists inside browsers and operating systems whose contents change through governance processes measured in years, because a root authority must be audited, must demonstrate its key ceremony and custody practices, and must be accepted by every major trust store before a single end-entity certificate beneath it can be validated by the public. A post-quantum root cannot simply be generated; it must be admitted, and admission is a diplomatic process among browser vendors, auditors and authorities who answer for the consequences of trusting the wrong key.
The consequence is an asymmetry that shapes the entire migration sequence and that the next two sections develop: the confidentiality half of a connection can migrate years before the authenticity half, because key exchange is negotiated fresh in each handshake between two parties who can experiment bilaterally, while a certificate must be validated by everyone, everywhere, against trust stores that update on their own schedules. An industry can therefore reach a state, and on the evidence of deployment figures published by large content delivery networks is reaching it, in which the great majority of traffic is protected against the recording adversary while still being authenticated by the very elliptic curve signatures a quantum machine would forge. That state is not hypocrisy or failure. It is the rational ordering imposed by the threat model, since recorded traffic can be opened retrospectively while a forged certificate must be used live, during the window when the machine exists and the connection happens, and defenders correctly closed the retrospective exposure first. Judging a migration by a single percentage, migrated or not, erases exactly the distinction the threat model exists to preserve.
Key Exchange First: Why Hybrid Handshakes Lead the Migration
The first defense layer to deploy was the hybrid handshake, and its design encodes a lesson the field learned from its own history. A hybrid key exchange runs a classical algorithm and a post-quantum algorithm together, combining their outputs so that the resulting session key is secure if either component remains unbroken. The construction protects against two opposite disasters at once: the quantum arrival that breaks the classical half, and the cryptanalytic surprise, of the kind that destroyed SIKE, that breaks the young post-quantum half. Neither disaster alone opens the session. The cost is a larger handshake and a doubled implementation surface, and the industry judged that cost worth paying at a scale that surprised outside observers: by the middle of the decade, the content delivery network Cloudflare reported that a large share of the human-initiated connections to its network already negotiated post-quantum key exchange, and the major browsers had enabled hybrid exchange by default for connections to servers that support it. The recording adversary’s archive, for those connections, stopped growing.
Why are hybrid key exchanges used during a cryptographic migration?
A hybrid key exchange combines a classical and a post-quantum algorithm so that the session remains secure if either one survives, insuring against a quantum computer breaking the classical component and against a classical breakthrough breaking the young post-quantum component. The larger handshake is accepted as the price of not predicting which failure, if either, arrives first.
The hybrid pattern generalizes beyond the handshake and is worth naming as the migration’s characteristic move. Wherever a classical and a post-quantum mechanism can run in parallel and their results combined, dual signatures on a software release, dual certificates during a transition, a classical and a lattice key wrapping the same archive key, the defender buys insurance in both directions at the price of size and complexity. Where they cannot, in a burned-in device key or a protocol with fixed field lengths, the defender faces the unmediated choice and the migration stalls, which is why the long tail of the transition lives in exactly those rigid places. The history sections below show that every previous migration had the same long tail and the same hybrid bridge across its center, and that the organizations which fared worst in those transitions were the ones that waited for a clean cutover that the installed base never permitted.
One Connection, Traced From First Byte to Sealed Archive
The abstractions of the preceding sections become concrete when a single connection is followed through its whole life, so consider a hospital network engineer opening an administrative session to a records system across a virtual private network, carrying patient histories whose statutory secrecy lifetime runs for decades. The session begins with a negotiation. The client offers the key exchange groups it supports, and because both ends were built under a crypto-agility rule, the offer includes a hybrid group combining an elliptic curve exchange with ML-KEM alongside the classical groups that older equipment still requires. The server selects the hybrid group, and the two sides run both exchanges in parallel: the elliptic curve computation produces one shared secret, the lattice encapsulation produces another, and the key derivation function binds the two together with the transcript of the negotiation, so that the session keys descend from both. An adversary who later breaks the elliptic curve half recovers only a component the derivation has already mixed beyond separation, and an adversary who finds a flaw in the lattice half faces the same wall from the other side. The bulk traffic that follows, the records themselves, is encrypted with a two hundred fifty-six bit symmetric cipher, and the whole exchange, had it been recorded at any point on its path, enters the adversary’s archive as material whose key establishment half has already been placed beyond the reach of the machine the archive is waiting for.
Change one variable and the same scene teaches the opposite lesson. Let the server be an older appliance, purchased before hybrid support existed, its firmware frozen by a vendor that no longer maintains it, and the negotiation settles on the classical group both sides still share. The session is, by every measure its operators can see, encrypted and healthy. The recording adversary sees the same health and files the session away, because the public values in its opening handshake are a complete kit for its future opening: the elliptic curve public keys, retained beside the ciphertext, are exactly the input the algorithm of Shor consumes. Nothing about the day itself differs. The engineer’s screen shows the same records, the appliance reports the same status, and the only difference between the two scenes is a line in a negotiation log that nobody was assigned to read. That is the operational meaning of the detection section’s argument about telemetry: in this field the difference between exposure and protection is routinely a single negotiated parameter, invisible to every user of the system, legible only to an organization that decided in advance to look.
The same trace, followed into the archive rather than the session, shows where the signature clock runs. The records system signs its nightly export manifests with a classical signature so that a future auditor can verify the archive’s integrity, and those manifests must remain verifiable for as long as the records are retained. A migration plan that stopped at the network layer would leave the manifests exposed to the forgery window: after a capable machine arrives, a fabricated manifest carrying a forged classical signature is indistinguishable from a genuine one, and the archive’s chain of custody dissolves. The remedy available while classical signatures remain trustworthy is anchoring, a trusted timestamp or a post-quantum countersignature applied to the manifest collection now, which fixes the genuine set in time so that a later forgery, however perfect its mathematics, arrives stamped with the wrong history. The worked example therefore ends with the migration’s whole doctrine in miniature: hybrid exchange for what flows, anchoring for what rests, inventory for what was forgotten, and a demolition date for the classical fallback that the older appliance still forces the network to carry.
Signatures Last: Why Authentication Migrates on a Slower Clock
Signatures migrate last for reasons that compound. A signature must remain verifiable for as long as the signed object matters, so a software release signed with a classical algorithm in a year when no quantum computer exists becomes forgeable in the year one arrives, and the verifier of that later year cannot distinguish the genuine old signature from a fresh forgery unless a trusted timestamp or a countersignature anchors the genuine one in time. Long-lived signed objects, firmware in devices with twenty-year service lives, legal archives, land registries, the root certificates themselves, therefore need attention out of proportion to their number, while the ephemeral signatures of a web session can wait for the trust stores to move. The payment world illustrates the layering well: a tap of a card or phone against a terminal sets in motion certificate checks and key agreements whose designers must assume the terminal in the field will still be there, unpatched in its cryptography, long after the algorithms it shipped with have been retired, which is why payment schemes plan cryptographic transitions across device generations rather than across software releases.
Size presses on signatures from the other direction. A protocol that carries a signature in every message, a routing protocol, a DNS answer, a software update manifest checked by a constrained device, feels a move from sixty-four bytes to twenty-four hundred as a change in its physics, and some of those protocols were standardized with hard size limits that a post-quantum signature simply exceeds. The engineering responses are real but slow: protocol revisions, fragmentation schemes, new transports. Meanwhile the threat against signatures, unlike the threat against recorded key exchange, cannot be exercised retrospectively. A forged signature on a document created after the machine arrives is a live attack requiring a live victim, and defenders rationally sequence it behind the archive problem. The result is a migration with two clocks running at different speeds inside the same systems, and any report that a system has migrated is incomplete until it says which clock it is describing.
Crypto-Agility: The Property That Would Have Prevented the Crisis
If the field extracted one doctrine from the quantum transition, it is crypto-agility, the property of a system whose algorithms can be replaced by configuration and negotiation rather than by redesign. The classical algorithms lasted half a century, and their longevity taught a generation of engineers to treat the choice of algorithm as a permanent feature of a system, compiled into code, baked into hardware, assumed by protocols with fields sized for exactly one key length. The doctrine of agility holds that every such assumption is a future migration crisis in storage. A crypto-agile system names its algorithms in its interfaces, negotiates them between parties, sizes its fields for change, inventories its dependencies and treats the algorithm as the most perishable component it owns, because the historical record shows algorithms perishing on a schedule of decades while systems live longer than their designers planned.
The doctrine has a cost side that its advocates state honestly. Agility is itself an attack surface: negotiation mechanisms can be manipulated by an adversary who forces two parties down to the weakest algorithm both support, the downgrade pattern behind several of the most damaging protocol failures in the record, and every additional supported algorithm is an additional implementation that can carry a flaw. The mature position, reflected in the guidance of standards bodies and in the design of the hybrid handshakes, is agility with a floor: negotiate freely among algorithms that each clear the security bar, permit no fallback below it, and log what was negotiated so that the next migration begins from knowledge rather than from archaeology. An organization that builds that floor into its systems during the post-quantum migration is buying, as a by-product, immunity from the specific shape of the next crisis, whatever mathematical surprise produces it. A structured reference tool kept beside the inventory is a small part of that discipline; the larger part is the standing rule that no algorithm enters a system without a documented route by which it can leave.
Inventory: The Cryptographic Bill of Materials
Every credible migration program begins with an inventory, and the inventory is harder than it sounds for a reason that defines the problem: cryptography is rarely purchased as cryptography. It arrives embedded, inside libraries chosen by developers for other reasons, inside vendor products whose documentation names a feature rather than an algorithm, inside protocols, inside hardware security modules, inside the firmware of devices whose manufacturers may no longer exist. The instrument the field converged on is the cryptographic bill of materials, a structured record, promoted by government guidance and by industry frameworks, listing for each system the algorithms in use, the key lengths, the libraries and versions, the certificate authorities involved and the data whose secrecy lifetime the system carries. Building one is an archaeological exercise conducted across source code scanners, network observation, vendor questionnaires and the institutional memory of engineers, and programs consistently report that the inventory, not the replacement, consumes the first years of the schedule Mosca’s inequality warned them about.
The inventory also produces the migration’s most valuable by-product, a map of cryptographic debt that predates the quantum question entirely. Organizations conducting a serious inventory routinely find algorithms that were retired for classical reasons years earlier still negotiating sessions in forgotten corners, keys of lengths abandoned as unsafe by every guidance document still authenticating production traffic, and certificates expired or self-signed in systems whose owners believed them managed. The quantum deadline functions, in program after program, as the forcing event that finally funds the hygiene the field had recommended for decades without effect. That pattern, a distant threat accomplishing what a present one could not, is familiar from other corners of security, and it should temper the cynicism with which migration budgets are sometimes discussed: the money is rarely wasted even in the world where the machine arrives late, because the inventory and the agility remain valuable against the classical adversary who was never hypothetical at all.
The Standards: A Competition, Three Publications and a Suite
The institutional center of the transition is the standardization process run by the National Institute of Standards and Technology, announced in 2016 as an open international competition in the tradition of the contests that produced the Advanced Encryption Standard and the SHA-3 hash function. Eighty-two submissions entered; successive rounds of public cryptanalysis winnowed them across eight years; and in August 2024 the institute published the first three finished standards, FIPS 203 for the ML-KEM key encapsulation mechanism, FIPS 204 for the ML-DSA signature algorithm and FIPS 205 for the SLH-DSA hash-based signature algorithm, with the code-based HQC selected in 2025 as a dissimilar backup for key establishment and a fourth standard for the FN-DSA signature scheme in preparation. Around the federal standards sits the Commercial National Security Algorithm Suite 2.0, published by the National Security Agency in 2022, which names the algorithms and parameters required for national security systems and attaches the transition timelines that procurement officers actually enforce. The table below settles the shape of the standardized portfolio at a glance: which mechanism does which job, what mathematics it stands on and what it costs in size.
| Mechanism | Job in a connection or archive | Mathematical basis | Structural cost |
|---|---|---|---|
| ML-KEM | Key establishment between parties | Module lattice problems with small errors | Public keys near a kilobyte, larger handshakes |
| ML-DSA | Digital signatures for general use | Module lattice problems with rejection sampling | Signatures of roughly twenty-four hundred bytes |
| SLH-DSA | Digital signatures where conservatism dominates | Hash function resistance alone | Signatures of tens of kilobytes, slower signing |
| HQC | Backup key establishment | Decoding of structured error-correcting codes | Larger keys than ML-KEM, dissimilar assumption |
| AES-256 | Bulk encryption of the data itself | Symmetric key search resistance | None beyond a doubled key length |
| SHA-384 and SHA-512 | Hashing and integrity | Hash function resistance at longer outputs | Longer digests carried in protocols |
Read as a portfolio rather than as a list, the table shows the design philosophy of the whole program: two unrelated mathematical families carry the production load, a third waits standardized in reserve, and the symmetric foundations continue underneath with enlarged parameters. The table is referred to again in the closing sections, because the question a reader should carry away is not which row wins but why the portfolio was built with redundancy as a first principle, and the answer is the SIKE collapse and the long memory of a field that has watched single assumptions fail before.
From RSA to the First Round: A Short History of Public Keys
The history of the public-key layer is a history of two ideas arriving twice. In 1969, James Ellis, working at the Government Communications Headquarters in Britain, conceived the possibility of secure communication without prior shared secrets, and his colleagues Clifford Cocks and Malcolm Williamson derived, by 1973 and 1974, constructions equivalent to the RSA scheme and the Diffie-Hellman exchange. The work was classified, the constructions sat in a vault, and the ideas were published openly years later by the academics who found them independently, Diffie and Hellman in 1976 and Rivest, Shamir and Adleman in 1977, with the British priority acknowledged only when the record was declassified in 1997. ### Who invented public-key cryptography first?
The first constructions were derived at the Government Communications Headquarters in Britain, where James Ellis conceived the possibility in 1969 and Clifford Cocks and Malcolm Williamson produced equivalents of RSA and key exchange by 1974. The published inventions came independently from Diffie, Hellman, Rivest, Shamir and Adleman in 1976 and 1977; British priority entered the public record in 1997.
The episode is more than a curiosity for a migration article. It demonstrates that the life of a cryptographic idea is governed by the institutions around it: the classified version changed nothing in the world for a quarter century, while the published version rebuilt commerce, because publication enabled standardization, implementation and attack by the open community whose scrutiny is the only known process for turning a clever construction into a trustworthy one. The post-quantum competition was designed, consciously, as the published path taken on purpose and at full length.
The decades that followed hardened the two asymmetries into infrastructure. The factoring record advanced in public, with RSA challenge numbers falling at increasing sizes as algorithms and hardware improved, and key lengths migrated in response, from five hundred twelve bits through one thousand twenty-four to two thousand forty-eight, each migration a rehearsal in miniature for the present one: inventories incomplete, embedded systems stranded, laggards discovered late. Elliptic curves, proposed in 1985, took twenty years to displace RSA in mainstream protocols, held back by patent anxieties, by implementation caution and by the inertia of certification, a timeline that should be kept in mind by anyone who finds the post-quantum schedule leisurely. The field’s migrations have always taken longer than the mathematics required and shorter than the pessimists predicted, and they have always been completed, because the alternative to completing them was operating known-broken cryptography in public.
The Crypto Wars and the Export Grade Warning
The political history of the field carries a warning that the migration ignores at its peril. Through the nineteen nineties, the United States treated strong cryptography as a munition, restricted its export and pressed for key escrow arrangements, most visibly the Clipper chip proposal of 1993, under which encrypted communication would carry a government-held copy of its keys. The export regime produced a concrete technical legacy: protocols were built with deliberately weakened export-grade modes, forty-bit symmetric keys and five hundred twelve bit RSA, and those modes, long after the regulations liberalized around 2000, remained compiled into libraries and servers as dormant options. In 2015 the FREAK attack, and shortly afterward the Logjam attack against Diffie-Hellman parameters, showed that an active adversary could force a connection down into the abandoned export modes and break them with modest resources, converting a political compromise of the nineteen nineties into a practical break two decades later against systems whose owners believed the episode closed. The lesson generalizes with uncomfortable directness to the present transition. Algorithms are never fully removed when they are merely deprecated; they persist as options, and an option that an adversary can select is a vulnerability with a waiting period. A migration that leaves classical key exchange enabled as a permanent fallback, rather than as a bridge with a demolition date, is building the export-grade failure of the next generation.
The crypto wars also settled, in practice, the question of who governs cryptographic standards, and the answer shapes the present process. The open competition model, in which an agency publishes candidates, invites the world to attack them for years and standardizes the survivors, emerged strengthened from a period in which a closed process produced the Dual EC DRBG random number generator, a standard whose structure allowed a backdoor for whoever knew certain secret values, as documents disclosed in 2013 confirmed the field’s suspicions. The contrast between the two models is the strongest argument in the governance of the field: the random number generator standardized behind closed doors carried a trap, while the algorithms standardized in the open, including the post-quantum portfolio, carry the scars of years of public attack that anyone may inspect. Trust in the new algorithms does not rest on trust in an institution. It rests on the visibility of the process that produced them, which is why attempts to shortcut that process, however urgent the deadline feels, are resisted by the field’s own institutions as a security failure in themselves.
The Earlier Migrations: DES, SHA-1 and the Proof That It Can Be Done
The strongest evidence that the post-quantum migration is achievable is that the field has already performed the same operation, at smaller scale, at least three times. The Data Encryption Standard, adopted in 1977 with a fifty-six bit key, fell in public stages: theoretical attacks accumulated, the Electronic Frontier Foundation built a machine in 1998 that recovered keys by exhaustive search in under a day, and the standard was replaced by the Advanced Encryption Standard through an open competition concluded in 2001, with a transition period in which the interim Triple DES construction bridged the installed base. The SHA-1 hash function followed the same arc on a longer fuse: theoretical weaknesses published in 2005, a practical collision demonstrated by a team from Google and CWI Amsterdam in 2017 at a cost they published, and a deprecation process across browsers and certificate authorities that took most of a decade and still surfaces in legacy systems. RSA key lengths migrated repeatedly under nothing more dramatic than factoring progress. Each episode taught the same curriculum: the break is announced years before it is practical, the inventory is worse than anyone believed, the long tail is embedded and forgotten systems, and the migration completes when a forcing institution, a browser, a payment scheme, a procurement rule, sets a date after which the old algorithm stops being accepted.
The post-quantum transition differs from those rehearsals in scale and in one qualitative respect. DES and SHA-1 were replaced like for like, a cipher for a cipher and a hash for a hash, with the same key sizes in the same fields. The quantum replacement changes the geometry of the objects being carried, keys and signatures an order of magnitude larger, inside protocols whose every field was sized by the old geometry. That is the sense in which the present migration is the largest in the field’s history, not because the mathematics is harder but because the plumbing is tighter. Even here the rehearsals offer the operative lesson, which is about acceptance dates rather than algorithms. SHA-1 certificates died when browsers refused them, on a published schedule, and not before; the post-quantum equivalents are the trust store programs, the procurement suites and the browser roadmaps, and a reader assessing any vendor’s migration claim should ask for the acceptance date it answers to, because a plan without a date at which the old stops working is a description of permanent coexistence, and permanent coexistence, as the export-grade episode showed, is the failure mode.
Detection: Watching a Negotiation Nobody Sees
In the classical security model, detection is the discipline of noticing an attack in progress, and dwell time measures how long an intruder operates before discovery. The quantum exposure inverts both ideas in a way worth dwelling on, because it changes what monitoring can even mean. The recording adversary does nothing detectable: copying traffic in transit generates no log entry at the victim, no authentication failure, no anomaly in any console, and the decryption happens years later on another continent against a copy. There is no dwell time to shorten because there is no presence to detect. The defensive consequence is that the entire weight of the discipline shifts from detection to prevention and to a peculiar second-order monitoring task, verifying what one’s own systems actually negotiate. That task is harder than it appears. A server configured to prefer post-quantum key exchange may silently fall back to classical exchange for clients, libraries or load balancers that mishandle the larger handshake, and the fallback is invisible in ordinary testing because the connection succeeds; only deliberate inspection of negotiated parameters across the real client population reveals it. Programs that take the threat model seriously therefore treat negotiation telemetry, the continuous record of which algorithms production traffic actually used, as a primary security instrument, on a par with the vulnerability scanning that a disciplined recovery program depends on when an intrusion succeeds, because in both disciplines the gap between the intended configuration and the operating reality is where the loss accumulates.
The same inversion applies to incident economics. A classical breach has a discovery date, a scope investigation and a notification duty, all anchored in the moment the defender learns of the event. A recorded archive has none of those anchors: the defender cannot enumerate which sessions were copied, cannot notify the owners of secrets that will become readable on an unknown future date and cannot close the exposure by any action taken after the recording. The only variable under the defender’s control is the size of the archive, which grows with every day of classical key exchange on long-lived traffic and stops growing, connection by connection, as hybrid exchange deploys. Framed that way, migration progress is not a compliance percentage but a leak rate, and the correct unit in which to report it is the volume of long-lived traffic still being added to an adversary’s future plaintext collection. Boards that are shown the leak rate make different decisions from boards that are shown a percentage of servers patched, which is why the framing work of translating the threat model into that unit has become a recognized part of the security engineer’s job in this field.
The Economics of Migration: Who Pays, Who Delays and Why
The costs of migration are concrete and front-loaded, and an honest account lists them without flinching. Engineering time goes to inventory, to library replacement, to protocol upgrades and to the testing of larger handshakes against real network equipment. Certification regimes must be re-run, because a validated cryptographic module is validated as a specific implementation of specific algorithms, and changing the algorithm voids the validation that regulated industries are required to hold. Hardware with burned-in classical keys must be retired early or isolated. Vendors must be pressed, waited on and in some cases replaced. Against those certain present costs stands a future loss that is probabilistic in its timing and catastrophic in its shape, and the standard machinery of corporate budgeting, which discounts future losses and rewards deferred spending, reliably produces delay. Every actor in the system can also point at another actor whose move must come first, libraries before applications, standards before products, customers before vendors, and the pointing is often accurate, which is what makes the coordination failure rational at every individual step and indefensible only in aggregate.
The mechanisms that have historically broken such deadlocks are all visible in the present transition, and naming them is more useful than exhortation. Procurement rules convert a future risk into a present contract requirement, which is the function of the CNSA 2.0 timelines for national security systems and of the purchasing questionnaires that large buyers now send their suppliers. Platform defaults convert it into a non-decision, which is the function of browsers and content delivery networks enabling hybrid exchange for everyone at once: no individual website operator had to budget for the protection its visitors received when the platform turned it on. Insurance and audit convert it into a priced line item, as questionnaires from auditors and underwriters begin to ask after cryptographic inventory with the same routine insistence they apply to patching. A companion planning reference can organize the questions such a program must answer, but the deciding factor in the record is never the plan; it is the arrival of one of those three forcing mechanisms in the organization’s own environment. Programs that wait for internal enthusiasm wait indefinitely, and the literature of the earlier migrations is unambiguous on that point.
The Economics of Attack: Why Recording Is Cheap and Waiting Is Rational
The attacker’s arithmetic deserves the same clarity, because it explains why the recording threat does not depend on any adversary’s confidence in a quantum timeline. Storage is among the cheapest commodities in computing, and the traffic worth recording is a small, selectable fraction of the whole: the sessions of embassies, ministries, research institutions, law firms, hospitals and corporate networks can be identified by their endpoints and copied at backbone scale for a cost that is trivial against an intelligence budget. The adversary need not believe the machine arrives in any particular decade. The recording is an option purchased cheaply on a future capability, exercisable if and when the capability matures, worthless only in the world where it never does, and in the meantime the same collection serves classical cryptanalysis, traffic analysis and the identification of targets whose other weaknesses can be worked on immediately. An option that cheap, on a payoff that large, with ancillary uses that justify it on their own, will be purchased by every service that can reach the cables, and the defender’s planning assumption should be that traffic of interest crossing infrastructure an adversary can touch has been recorded. That assumption, stated plainly, is the entire case for hybrid key exchange as an urgent measure rather than a scheduled one, and it requires no prediction about quantum hardware whatsoever.
Set the two arithmetics side by side and the shape of the policy problem appears. The defender’s costs are certain, immediate and borne by identifiable budgets; the attacker’s costs are trivial and the payoff deferred but enormous; and the loss, when it lands, lands on the owners of the secrets rather than on the engineers who deferred the spending. Misaligned incidence of that kind is precisely what regulation and procurement rules exist to correct in other domains of safety, and the emergence of migration deadlines in procurement law, in sector regulation and in national guidance follows the same logic as building codes after a fire: the party who decides is not the party who burns, so the decision is removed, in part, from the party who decides. Readers who find the deadlines arbitrary are usually missing the incidence analysis; the dates are not predictions about a machine but corrections to a budget process that was guaranteed to underinvest.
The Complication: The Strongest Case That the Rush Is Overstated
The thesis of the preceding sections, that migration is urgent because recorded traffic is already exposed, has a serious opposition, and the complication section exists to give that opposition its strongest form rather than its weakest. The sceptical case has three pillars, each with named advocates in the field’s public argument. The first is engineering: the gap between laboratory quantum devices and a cryptographically relevant machine is not a gap of degree but of kind upon kind, error correction at the required scale has never been demonstrated, and serious physicists and engineers, among them voices who have spent careers in quantum hardware, argue in print that the threshold may recede for decades or indefinitely, as controlled fusion has receded, always thirty years away. The second pillar is cryptanalytic: the post-quantum assumptions are young, the SIKE collapse proved that a fourth-round candidate could fall to a laptop-class classical attack after years of scrutiny, and the lattice results that periodically alarm the press, including asymptotic improvements in lattice reduction published by frontier laboratories and then qualified by their own authors, show a field whose margins are estimates rather than measurements. Replacing fifty-year-old assumptions that fell only to a machine that does not exist with twenty-year-old assumptions that might fall to mathematics that does exist is, on this view, a trade whose direction is not obviously favourable. The third pillar is opportunity cost: every engineering year spent on migration is a year not spent on the classical failures, phishing, unpatched known vulnerabilities, credential theft, that account for the overwhelming majority of actual compromises in every incident dataset the field maintains, including the datasets summarized in the annual investigations reports of major security vendors.
The thesis survives the complication, but it survives narrowed, and the narrowing is the honest output of the argument. The sceptics are right that the arrival date is unknowable and may be distant, right that the new assumptions carry youth risk, and right that classical hygiene remains the larger expected loss. What the sceptical case does not dissolve is the asymmetry of the recording archive: hybrid key exchange, the one measure the urgency argument actually demands first, is cheap, is already deployed at platform scale, insures in both directions by construction and does not require believing any date. The complication therefore refutes the panic version of the thesis, in which every system must migrate on an emergency schedule, and it refutes the demand for immediate signature replacement in low-value contexts, but it leaves standing the core claim in a more precise form: close the retrospective exposure where the data is long-lived, build the inventory and the agility everywhere, and let the signature migration follow the trust stores at their governance pace. The claim that the difficulty is replacement rather than invention ends by conceding that the replacement, too, must be sequenced by the threat model rather than by the calendar, and that concession is a strengthening, because a thesis that specifies where it does not apply is worth more than one that claims everything.
What Genuinely Reduces Risk at an Organizational Level
Stripped of vendor language, the measures that reduce risk in this field form a short list whose order follows from the threat model rather than from any product catalogue. The first measure is the inventory, the cryptographic bill of materials described in its own section, because no other measure can be aimed without it. The second is hybrid key exchange on every channel that carries long-lived secrets, beginning with the virtual private networks, administrative connections and inter-site links whose traffic an adversary would select for recording, and relying on platform defaults everywhere else. The third is an honest classification of data by secrecy lifetime, conducted with the owners of the data rather than with the owners of the servers, because the engineers rarely know that a research archive must stay sealed for fifty years or that a personnel file carries statutory protection for a working lifetime. The fourth is crypto-agility as a procurement and design rule, applied to every new system without exception, so that the estate stops growing the problem while the program shrinks it. The fifth is attention to the long-lived signed objects, the firmware, the archives, the root keys, whose forgery window opens on the machine’s arrival and cannot be closed afterward, including timestamping and countersignature arrangements made while classical signatures are still trustworthy. The sixth, and the one most often skipped, is the demolition schedule for classical fallback, agreed while the bridge is being built, because a bridge without a demolition date becomes the permanent road and carries the export-grade risk forward into the next era.
None of those measures requires the reader to hold any view about quantum hardware, and that is the practical test the field applies to its own advice: guidance that depends on a prediction will be discarded when the prediction is doubted, while guidance that follows from the recording model, the inventory problem and the incidence of costs remains standing in every scenario, including the scenario in which the machine never arrives, where the inventory, the agility and the retired legacy algorithms still leave the organization safer against the classical adversary than it was. The decision about an organization’s own estate belongs, as in every security matter with legal and financial consequence, with the qualified professionals accountable for that estate; what the evidence supports without qualification is the ordering, archive first, agility always, signatures on the governance clock.
The Limits: What Post-Quantum Algorithms Do Not Fix
A migration program purchases a specific property, the survival of key establishment and signatures against a quantum adversary, and the boundary of that property should be drawn as firmly as the property itself. The new algorithms do not repair a compromised endpoint, where malware reads plaintext before encryption and after decryption with complete indifference to the mathematics in between. They do not repair implementation flaws, and the early implementation history of the standardized schemes already includes the field’s characteristic lessons: timing variations in early versions of the Kyber reference implementation, analyzed in the KyberSlash disclosures of late 2023, showed that a mathematically sound scheme can leak its secret through the time its code takes to run, a side channel in the tradition of the timing attacks Daniel Bernstein and others spent decades teaching implementers to close with constant-time discipline. They do not repair the human layer, where a persuaded employee hands over a credential, nor the access control layer, where an authorized account is the attack. And they do not make a system unhackable, a word no engineer in the field applies to anything, because security is a property of a whole system against a named adversary for a stated period, and every term in that definition can fail independently of the algorithms.
The limits matter to the migration itself for a practical reason: the program will be judged, when the next unrelated breach occurs at an organization that migrated, by commentators who treated post-quantum as a synonym for secure. The field’s own communication created some of that risk, since a program sold internally as protection against the future can be misremembered as protection in general. The accurate claim is narrower and, properly understood, more impressive: for the first time in the history of computing, a foundational layer of the world’s infrastructure is being replaced, in advance, against a threat that has been specified mathematically but never observed, through an open process whose every step the public may inspect. That the replacement fixes one thing is not its weakness. Every honest control fixes one thing, and the discipline of the field consists in knowing which one.
Cryptography as Maintenance: The Structural Implication
Return to the portfolio table in the standards section and read it once more with the whole argument in view. Two young mathematical families carry the load, a third stands standardized in reserve, a fourth is in preparation, the symmetric foundations continue with doubled parameters, and every element of the arrangement embodies the same admission: the algorithms are perishable, the assumptions are provisional, and the system is designed, this time, on the expectation of its own future replacement. That admission is the real transition. The classical era treated its two hard problems as permanent features of the mathematical landscape and built fifty years of infrastructure on their permanence; the post-quantum era treats its hard problems as the best available instruments with an unknown service life and builds, alongside them, the inventory, the negotiation and the agility whose entire purpose is to make the next replacement cheaper than this one. The web of trust that a recorded archive threatened will not be saved by lattices. It will be saved, insofar as it is saved, by the institutional learning that lattices forced.
The durable question with which this subject began, how strangers agree on secrets and prove their names to one another across a hostile network, has now had three answers in fifty years: the classified answer that changed nothing, the published answer that changed everything and fell to a published algorithm, and the portfolio answer that assumes its own eventual fall and prepares for it in advance. A reader who understands why the third answer is shaped as it is, redundant, negotiated, inventoried and permanently unfinished, understands the subject more deeply than a reader who can recite the key sizes of every scheme in the standard. The mathematics will change again. The maintenance is the permanent part, and the organizations that learn to treat cryptography as a garden rather than as a monument are the ones whose secrets will still be secret when it does.
Frequently Asked Questions
Q: What is post-quantum cryptography in plain language?
Post-quantum cryptography is a set of public-key algorithms built on mathematical problems that quantum computers are not expected to solve efficiently, created to replace the factoring and discrete logarithm systems behind RSA and elliptic curve cryptography. It covers key establishment, where two parties agree on a shared secret, and digital signatures, where a party proves identity or authorship. The symmetric ciphers that encrypt the data itself are not replaced, because quantum search only halves their effective strength and longer keys restore it. The name describes resistance to a class of machine rather than use of that machine: the algorithms run on ordinary computers, in ordinary software, on the networks that exist.
Q: Why does post-quantum cryptography matter if the quantum computer does not exist yet?
It matters because of the recording adversary. Encrypted traffic can be copied in bulk and stored, and a session whose key exchange used classical algorithms can be decrypted retrospectively once a capable quantum computer exists, using only the public values preserved in the recording. Any secret whose required secrecy lifetime, added to the years a migration takes, exceeds the years until such a machine arrives is therefore already exposed in the only sense that matters, a relationship captured in the inequality associated with Michele Mosca. Systems carrying medical, legal, governmental and identity records with secrecy lifetimes of decades cannot wait for the machine to be demonstrated before beginning a migration that itself takes years.
Q: What is the difference between ML-KEM, ML-DSA and SLH-DSA?
ML-KEM is a key encapsulation mechanism, standardized as FIPS 203, used to establish shared secrets, and it rests on structured lattice problems built from learning with errors. ML-DSA is a digital signature algorithm, standardized as FIPS 204, resting on related lattice problems and using rejection sampling to keep signatures from leaking the secret key. SLH-DSA is a digital signature algorithm, standardized as FIPS 205, resting on hash functions alone and derived from the SPHINCS+ design. The practical differences are size and speed: ML-DSA signatures are a few kilobytes, while SLH-DSA signatures reach tens of kilobytes and sign more slowly, in exchange for the most conservative security assumption available in the portfolio.
Q: How does learning with errors make a key secure?
Learning with errors hides a secret vector inside a set of linear equations that have each been perturbed by a small random error drawn from a narrow distribution. Without the errors, ordinary elimination would recover the secret quickly. With them, elimination amplifies the noise instead of cancelling it, and every candidate secret fits the equations almost equally well, leaving an attacker an exponential search. Oded Regev proved in 2005 that solving the problem on average is at least as hard as solving certain worst-case lattice problems, which is the strongest form of evidence cryptography knows how to offer. The legitimate receiver holds a secret structure that cancels most of the noise, which is the entire advantage the system is built on.
Q: Will post-quantum cryptography slow down websites and applications?
The computations are generally fast, in many benchmarks faster than the elliptic curve operations they replace, because lattice operations are additions and multiplications of modest integers rather than exponentiations of large ones. The cost appears in size rather than in speed. Public keys grow from tens of bytes to roughly a kilobyte, signatures from sixty-four bytes to a few thousand, and handshakes carry more data, which can strain protocols with fixed field sizes, networks with inspecting middleboxes and constrained devices with small buffers. Users rarely notice a difference on an ordinary connection. System designers notice it everywhere, which is why the migration is described inside the field as a plumbing problem rather than a performance problem.
Q: How does a hybrid key exchange combine two algorithms into one session key?
A hybrid key exchange runs a classical algorithm and a post-quantum algorithm in the same handshake and feeds both resulting secrets, together with the transcript of the negotiation, into a key derivation function that produces the session key. Neither secret alone determines the key, so the session stays secure if either component remains unbroken. Deployment came early because key exchange is where the recording threat lives, because it can be enabled bilaterally between a browser and a server without waiting for global certificate changes, and because the construction insures against both failure directions at once. Major browsers and large content delivery networks enabled hybrid exchange by default, which is why a large share of web traffic gained retrospective protection without any action by individual site operators.
Q: Why do digital signatures migrate more slowly than key exchange?
Signatures depend on certificate chains and trust stores, curated lists of root authorities inside browsers and operating systems that change through audit and governance processes measured in years, so a post-quantum certificate cannot be validated by the public until the whole chain above it has been admitted. Signatures are also larger relative to the messages they protect in many protocols, and some protocols carry hard size limits that the new signatures exceed. Finally, the threat differs: a recorded key exchange can be opened retrospectively, while a forged signature must be used live against a live verifier, so defenders rationally close the retrospective exposure first and let authentication follow on the governance clock.
Q: What is crypto-agility and why do standards bodies require it?
Crypto-agility is the property of a system whose cryptographic algorithms can be replaced through configuration and negotiation rather than through redesign. Standards bodies and government guidance require it because the historical record shows algorithms failing on a schedule of decades while systems outlive their designers: DES fell to exhaustive search, SHA-1 fell to demonstrated collisions, and RSA and elliptic curve systems fell in principle to an algorithm published in 1994. A system that hard-codes its algorithm, sizes its fields for one key length and keeps no inventory of where cryptography lives is storing up a future emergency migration. Agility, disciplined by a floor below which negotiation may not fall, converts the next replacement from a crisis into a maintenance operation.
Q: How large are post-quantum keys and signatures compared with classical ones?
At the middle security levels, an ML-KEM public key is about twelve hundred bytes and its ciphertext about eleven hundred, against thirty-two bytes for an elliptic curve public key. An ML-DSA public key is about thirteen hundred bytes and a signature about twenty-four hundred bytes, against thirty-two and sixty-four bytes for the elliptic curve equivalents. An SLH-DSA signature can reach tens of kilobytes. RSA keys were already large, at a few hundred bytes for a public key, so the jump is most dramatic against elliptic curve systems, whose compactness was their great selling point. The sizes are trivial for a web page and significant for a smart card, a satellite link or a protocol designed around small messages.
Q: Which traffic should an organization protect first against retrospective decryption?
Any encrypted traffic an adversary can copy and chooses to store becomes readable on the day a capable quantum computer operates, if the key exchange that protected it was classical. For an ordinary organization the practical consequence is a ranking exercise rather than a panic: identify which traffic carries secrets with long required lifetimes, such as personnel records, health data, legal files, research archives and long-term contracts, and identify which of it crosses infrastructure outside the organization’s control. That subset is the exposure. Traffic whose contents are public, ephemeral or worthless within a year contributes almost nothing to an adversary’s archive, however much of it there is, and spending migration budget on it first is the most common planning error in the field.
Q: Are lattice-based algorithms proven secure?
No cryptographic algorithm in practical use is proven secure in the absolute sense, and lattice schemes are no exception. What exists is a body of evidence of specific kinds: reductions showing that breaking the deployed problem on average implies solving worst-case lattice problems that have resisted study for decades, in the line of work begun by Oded Regev in 2005; parameter margins chosen to absorb expected cryptanalytic progress; and years of public cryptanalysis inside an open standardization process that eliminated weaker candidates. The youth of the structured assumptions is a genuine reservation, acknowledged inside the process itself, and it is the reason the portfolio keeps a hash-based signature standard and a code-based backup whose assumptions share nothing with lattices.
Q: What happened to the SIKE algorithm and why does it matter?
SIKE was an isogeny-based key establishment candidate that reached the fourth round of the NIST standardization process, admired for the smallest keys and ciphertexts in the competition. In 2022 Wouter Castryck and Thomas Decru published a classical attack that recovered its keys in hours on ordinary hardware, exploiting structure present in the design from its proposal. No deployed system depended on SIKE, because it had never been standardized, and the episode is cited inside the field as the process working as designed: years of public attack before adoption, a fatal flaw found while the cost of finding it was a research paper rather than a planetary migration. It is also the standing argument for hybrid deployment and for keeping dissimilar algorithm families in reserve.
Q: Does post-quantum cryptography protect against ordinary hacking?
It protects against one specific future capability and leaves the ordinary landscape of compromise exactly where it was. Phishing, stolen credentials, unpatched known vulnerabilities, misconfigured storage and malware on an endpoint are unaffected by the choice of key establishment algorithm, because none of them attacks the mathematics. A system migrated to post-quantum algorithms can be breached by every classical route, and incident datasets consistently attribute the overwhelming majority of compromises to those routes. The migration is justified by the recording archive and by the forgery window that opens when a capable machine arrives, not by any improvement in day-to-day resistance, and organizations are advised by every serious guidance document to fund classical hygiene first and alongside, never instead.
Q: What is CNSA 2.0 and who has to follow it?
CNSA 2.0, the Commercial National Security Algorithm Suite version 2.0, is the set of cryptographic algorithms and transition timelines published by the National Security Agency in 2022 for national security systems and their suppliers. It names ML-KEM and ML-DSA at their strongest parameter levels for key establishment and signatures, SLH-DSA in specific roles, and AES-256 with SHA-384 or SHA-512 for the symmetric layer, and it attaches dates by which new equipment must support the suite and older equipment must leave service. Its direct force falls on government systems and the defense industrial base, but its wider influence is larger: procurement officers and auditors far outside that world borrow its timelines as a ready-made definition of a defensible migration schedule.
Q: How should an organization start a post-quantum migration?
The established sequence begins with an inventory, a cryptographic bill of materials recording which algorithms, key lengths, libraries and certificates each system uses and what secrecy lifetime the data carries. The second step is classification of that data by how long it must remain secret, conducted with the data’s owners. The third is enabling hybrid key exchange on the channels carrying the longest-lived secrets, which in practice means virtual private networks, administrative access and inter-site links, while relying on platform defaults elsewhere. The fourth is writing crypto-agility into every new procurement and design so the estate stops growing the problem. Organizations that begin with algorithm replacement rather than inventory reliably spend their first budget on systems whose exposure was trivial.
Q: What is a cryptographic bill of materials?
A cryptographic bill of materials is a structured inventory of the cryptography inside a system or an estate: the algorithms in use, their key lengths and parameter sets, the libraries and versions implementing them, the certificates and issuing authorities involved, the protocols negotiating them and the data each protects. It exists because cryptography is almost never bought as a labelled product; it arrives embedded in libraries, vendor platforms, protocols and firmware, and an organization typically cannot say where its own algorithms live until it goes looking. The format borrows from the software bill of materials movement in supply chain security. Without it, a migration program cannot rank its work, estimate its cost or prove its progress to an auditor.
Q: Can existing encrypted archives be protected after the fact?
An archive encrypted under a symmetric key is protected by that key’s strength, and a two hundred fifty-six bit key remains sound; the exposure lies in how the archive key itself was wrapped, transported or agreed. If the key was wrapped with RSA or exchanged by elliptic curve methods and that exchange was recorded or the wrapped key is stored alongside the archive in a form a quantum machine can open, the archive falls with the key. Re-wrapping archive keys under post-quantum encapsulation, inside a controlled environment where the classical wrapping is opened once and replaced, closes the exposure for archives still in the owner’s custody. What cannot be repaired is any copy of the wrapped key or the recorded exchange that already left the owner’s control, which is the precise sense in which the recording threat is irreversible.
Q: What is the difference between quantum cryptography and post-quantum cryptography?
Quantum cryptography, most often quantum key distribution, uses quantum physical effects, typically single photons whose measurement disturbs their state, to detect eavesdropping on a key exchange conducted over a dedicated physical channel. Post-quantum cryptography uses ordinary mathematics on ordinary computers and networks, choosing problems that quantum computers are not expected to solve. The two are frequently confused because of the shared word. Government guidance in the United States and allied countries has consistently favoured post-quantum cryptography for general use, on grounds of cost, distance limits, the need for dedicated hardware and the absence, in quantum key distribution, of a built-in answer to authentication. The standardized migration described in the field’s literature is the mathematical one.
Q: How long will the post-quantum migration take?
The honest answer is measured in decades for the whole estate and in years for the parts that matter most, and the precedents support both halves of that statement. Elliptic curve cryptography took about twenty years from proposal to mainstream displacement of RSA. The SHA-1 deprecation took most of a decade after practical collisions and still surfaces in legacy systems. Browser and platform key exchange, by contrast, moved within a few years once defaults changed, because two parties could act bilaterally. A reasonable expectation, reflected in procurement timelines that cluster their deadlines inside a decade for new systems, is fast protection for web and network traffic, a long tail for certificates, firmware and embedded devices, and stragglers for as long as unpatched equipment remains in service anywhere.
Q: Which algorithms should be retired first in a migration?
The retirement order follows the threat model. Classical key establishment, elliptic curve Diffie-Hellman and RSA key transport, protects recorded traffic and is therefore retired first wherever the data is long-lived, replaced by hybrid exchange so that neither a quantum nor a classical surprise opens the session. Classical signatures on long-lived objects, firmware, archives and root credentials, come next, because their forgery window cannot be closed after the machine arrives. Session signatures and ordinary certificates follow the trust store schedule. Legacy algorithms already retired for classical reasons, small RSA keys, obsolete hash functions and export-grade remnants of any kind, outrank everything, because they are exploitable by the adversary that exists rather than the one that is projected.