Post-Quantum Cryptography, Explained: The New Math Protecting Your Data From Quantum Computers
A quantum computer could one day break the encryption that protects your bank, your messages and your medical records. The replacement is already standardized — and this week an AI found a crack in it. Here is what post-quantum cryptography is, how it works, and why the race to switch is already on.
1 What it is
Post-quantum cryptography is replacement encryption: new algorithms, built on different mathematics, designed to survive a computer that does not exist yet. Nearly everything you do online is protected by public-key cryptography — RSA and elliptic-curve cryptography — which keeps your bank login, your messages and your medical records private. Both rest on math problems that are hard for ordinary computers: factoring a huge number into two primes, or solving a puzzle on an elliptic curve.
A large enough quantum computer breaks both. In 1994, mathematician Peter Shor showed that a quantum computer could factor huge numbers fast — Shor’s algorithm turns a problem that would take a classical computer longer than the age of the universe into something a quantum machine could do in hours. No quantum computer today is anywhere near big enough or stable enough to run it on real encryption keys. But the threat has a nasty twist called harvest now, decrypt later: an adversary can record your encrypted traffic today and simply wait. If the data still matters in ten or fifteen years — state secrets, health records, trade secrets — a future quantum computer could open it.
So the world is switching the locks before the thief arrives. The United States National Institute of Standards and Technology, NIST, ran an open competition starting in 2016 and finalized the first three post-quantum standards on August 13, 2024. They are ordinary classical algorithms, running on ordinary computers — no quantum hardware needed. They are just built on mathematical problems for which no efficient quantum attack is known. That is the whole idea: change the math, keep the machines.
2 How it works: hide a secret in noisy equations
Most of the new standards are built on lattices, and the intuition is simpler than the name. Picture a grid of dots stretching in hundreds of dimensions. Two questions about that grid are brutally hard: find the dot closest to the origin, or find the dot nearest to a given point. In two dimensions a child could do it. In hundreds of dimensions, the best known attacks — classical or quantum — take time that grows exponentially with the size of the grid.
The trick that turns a hard grid into encryption is noise. Take a secret list of numbers and a set of equations built from it. Without noise, recovering the secret is first-year algebra. Now add a small random error to every answer. The noise is tiny, but it destroys the algebra: every step of solving amplifies the errors until the result is meaningless. That is Learning With Errors. The legitimate key holder, though, knows the secret and can subtract the noise back out. The same noise that blinds an attacker is invisible to the owner.
ML-KEM, the key-establishment standard, works with polynomials of 256 coefficients each, doing arithmetic modulo 3,329 — the 256 is the ring degree you will hear cryptographers argue about this week. ML-DSA, the signature standard, uses the same lattice family to prove who signed a message. And the symmetric world barely changes: AES and the SHA hashes stay, so the whole transition is about replacing public-key cryptography, not rebuilding encryption from scratch.
3 New crypto vs old crypto
The old cryptography and the new cryptography do the same two jobs: agree on a secret key, and prove who signed something. What changes is the math underneath — and the size of the keys that math produces.
Under the old system, security came from factoring and elliptic curves, problems that have resisted classical computers for decades but fall to Shor’s algorithm on a quantum computer. Keys are small — an RSA public key is a few hundred bytes — and the system is battle-tested: it has guarded the internet for more than forty years.
4 Why everyone is switching now
The news peg is Monday’s announcement from Anthropic. Its Claude models found a theoretical quantum algorithm that attacks the lattice math behind ML-KEM and ML-DSA faster than previous methods — but only at key sizes far larger than anyone uses. At the ring degree of 256 that both standards use, the new method is still dramatically slower than the attacks cryptographers already know about. Anthropic shared its drafts with outside cryptographers and the United States government before publishing, and the reviewers agreed: the current standards are unbroken.
What did change is confidence. Anthropic said the finding lowers its long-term confidence in structured lattices, the kind ML-KEM and ML-DSA rely on, while its other papers raise confidence in unstructured lattices. That is why NIST deliberately spread its bets: alongside the lattice standards it finalized a hash-based signature standard, SLH-DSA, and selected a code-based backup, HQC, in March 2025. If one family of math ever falls, the others still stand.
And the clock is already running. NIST’s transition report from October 27, 2026 deprecates RSA and elliptic-curve cryptography after 2030 and disallows them after 2035. The United States government has set deadlines of 2030 and 2031 for federal systems to become quantum-resistant, and Google moved its own deadline forward to 2029. Your browser may already be using the new math: TLS connections increasingly negotiate a hybrid group that combines the old elliptic-curve exchange with ML-KEM, so the connection stays safe even if one of the two breaks.
5 The honest part
Here is the catch. First, nothing here is proven unbreakable. Post-quantum does not mean proven safe forever; it means no practical attack is known. Anthropic’s finding is the proof of that: a theoretical crack appeared in the very standards the world is migrating to, and confidence moved. The honest framing is not “safe,” it is “safest we know, for now.”
Second, the new keys are bigger. An ML-KEM public key is over a kilobyte, where an RSA public key is a few hundred bytes, and signatures are bigger too. For a web page that is trivial. For a tiny sensor, a smart card or a satellite link, every byte costs — and every system that touches cryptography has to be updated to handle the new sizes.
Third, the migration is the hard part. The math is standardized; the internet is not switched. Browsers, servers, phones, passports, payment terminals and satellites all have to move, and some of them will take a decade. That is why the field talks about crypto-agility: build systems so the algorithm can be swapped again, because the lesson of this week is that even the replacement may one day need replacing.
Key terms
- Post-quantum cryptography Encryption built on mathematical problems believed to be hard for quantum computers as well as classical ones — the replacement for RSA and elliptic-curve cryptography.
- Lattice A regular grid of points in many dimensions. Finding the shortest or nearest point is easy in two dimensions and infeasible in hundreds — the hard problem the new standards rest on.
- Learning With Errors (LWE) A problem built from equations with a small random error added to every answer. Without the noise it is easy algebra; with it, recovering the secret is infeasible even for a quantum computer.
- ML-KEM The NIST standard (FIPS 203) for agreeing on a shared secret key between two parties. Replaces RSA key transport and Diffie-Hellman key exchange.
- ML-DSA The NIST standard (FIPS 204) for digital signatures — proving who signed a message. Replaces RSA and ECDSA signatures.
- Shor’s algorithm A 1994 quantum algorithm that factors large numbers fast. It is the reason RSA and elliptic-curve cryptography need replacing, and the reason quantum computers are an encryption deadline.
This lesson comes from today’s Daily Tech Briefing (Episode 49, December 1, 2026): AWS’s developer keynote, Anthropic’s encryption crack & the AI slowdown calls. Read the full briefing: AWS re:Invent’s Developer Keynote — Daily Tech Briefing.
Wall Street Journal, “Anthropic’s AI Finds Crack in Quantum-Proof Encryption Standards” (November 30, 2026) — the finding, the scale caveat, the Cryptography Incident Review Group assessment; Reuters, first reporting of Anthropic’s findings; Anthropic on X (November 30, 2026) — “no practical, real-world consequences for today’s security systems”; NIST, “NIST Releases First 3 Finalized Post-Quantum Encryption Standards,” August 13, 2024, and NIST IR 8547 (October 27, 2026) — the 2030 deprecation and 2035 disallowance; Effortless Math, “Post-Quantum Cryptography Explained: Lattices and ML-KEM” — Learning With Errors, ring degree 256, mod q = 3,329; Kinda Technical, “Post-Quantum Cryptography: ML-KEM, ML-DSA and the NIST Standards” — FIPS 203/204/205, HQC backup, ML-KEM-768 as the TLS default.