Most of the security of the internet rests on a small number of mathematical problems that are hard for classical computers to solve. RSA depends on the difficulty of factoring large numbers, and elliptic-curve cryptography depends on the difficulty of computing discrete logarithms. In 1994 Peter Shor described a quantum algorithm that solves both problems efficiently. A sufficiently large and reliable quantum computer would therefore break the public-key systems used for key exchange and digital signatures. Such machines do not exist yet, and estimates of when they might are uncertain. The risk is nonetheless present today, because an adversary can record encrypted traffic now and decrypt it later, a strategy often summarised as harvest now, decrypt later.
What is at risk, and what is not?
Quantum computers affect different kinds of cryptography unequally. Public-key algorithms used for key agreement and signatures are the most exposed, since Shor's algorithm breaks them outright. Symmetric encryption and hash functions are affected less. Grover's algorithm gives a quadratic speed-up in searching for a key, which effectively halves the security level, so doubling the key length restores the margin. Using AES with a 256-bit key and a strong hash function therefore remains reasonable. The practical conclusion is that the work of migration centres on replacing public-key mechanisms in protocols such as TLS, in code signing, in certificates and in encrypted messaging, rather than discarding all existing cryptography. That focus makes the task more tractable, since a small number of well-understood mechanisms account for most of the exposure.
How do lattice-based schemes work?
Post-quantum cryptography uses mathematical problems that are believed to be hard even for quantum computers. The most prominent family is based on lattices. In a problem called learning with errors, a secret vector is hidden by multiplying it with a public matrix and adding small random noise. Recovering the secret from the noisy result is believed to be hard, and the structure allows efficient key exchange and signatures. Other families include hash-based signatures, whose security rests only on the properties of hash functions, and code-based schemes built on error-correcting codes. Each approach has trade-offs, and post-quantum keys, ciphertexts and signatures are generally larger than their classical counterparts, which affects bandwidth and protocol design.
Which algorithms are being standardised?
The United States National Institute of Standards and Technology ran an open competition for several years and in 2024 published its first post-quantum standards. They include a lattice-based key encapsulation mechanism, ML-KEM, derived from the Kyber submission, and a lattice-based signature scheme, ML-DSA, derived from Dilithium. A stateless hash-based signature scheme, SLH-DSA, derived from SPHINCS+, was standardised as a conservative alternative. Further candidates have continued through evaluation. Many deployments begin with hybrid approaches that combine a classical key exchange with a post-quantum one, so that security holds if either is broken. Protocol work in the IETF and in browser and library projects is bringing these mechanisms into common use.
Why it matters
Replacing cryptography across an organisation takes years, because it is embedded in hardware, firmware, certificates, protocols and third-party products. Organisations can start by taking an inventory of where public-key cryptography is used, identifying data that must stay confidential for decades, and designing systems for crypto-agility so that algorithms can be swapped without redesign. Waiting for certainty about quantum hardware risks beginning the migration after the exposure has already occurred.
The deadline for post-quantum migration is set by how long your secrets must last, not by when the quantum computer arrives.