AI puts post-quantum cryptography to the test
In late November, a rumour spread that an artificial intelligence lab had broken RSA, the encryption system that protects much of the internet's communications. The rumour turned out to be false, but what Anthropic published two days later, and the NSA's reaction shortly afterwards, touch on something that does matter: the plan the world had for replacing RSA.
To understand why, it helps to tell the story in order (where we came from, where we were heading and what changed this week) and to finish with what a small business can do about it.
Timeline from RSA to post-quantum cryptography: 1977 RSA, 1994 Shor, 2016 NIST competition, 2024 standards, 2025 HQC, October 2026, 30 November Anthropic, 2 December NSA, 2030 and 2035
1977–1994: RSA and Shor's warning
RSA was introduced in 1977 and has protected web connections, digital signatures and certificates ever since. Its security rests on a very simple asymmetry: multiplying two prime numbers is instant, while undoing the multiplication is extraordinarily hard. Anyone can work out that 61 × 53 = 3233 in a moment, but if all you are given is 3233 and asked which two primes produce it, you have no choice but to start trying. In RSA, that large number acts as the public key and the two primes are the secret that allows decryption; with RSA-2048 the number has 617 digits, so no conventional computer can factor it in any reasonable time.
RSA versus lattices: multiplying is easy and factoring is hard; in a lattice you have to find the point closest to a noisy point
In 1994, Peter Shor showed that a quantum computer could. His algorithm does not try divisors one by one; instead, it turns the problem into a search for a repeating pattern. A toy example makes it clear: if we take the powers of 7 and keep the remainder after dividing by 15, we get 7, 4, 13 and 1, and then the sequence starts again. Knowing that the pattern repeats every four steps, a simple calculation, the greatest common divisor, is enough to obtain the factors of 15, which are 3 and 5.
Shor's trick with N = 15: the powers of 7 modulo 15 repeat every 4 steps, and the factors 3 and 5 follow from that period
With a 617-digit number the pattern is so long that no ordinary computer would ever find it, but a quantum computer could, because it makes calculations interfere with one another, like waves, so that only the correct period stands out. Since 1994, then, we have known that RSA has an expiry date and that the only thing missing is a machine capable of running the algorithm. And each new estimate shrinks that machine: in 2025, Google's Craig Gidney calculated that fewer than a million noisy qubits would be enough to break RSA-2048 in under a week.
2016–2024: the search for a replacement
If RSA is doomed, something has to replace it. To that end, the US National Institute of Standards and Technology (NIST) launched a public competition in 2016 to choose algorithms able to withstand quantum computers, and in August 2024 it published its first standards, including ML-KEM, for agreeing keys, and ML-DSA, for signatures.
Both are based on lattices, which we can picture as grids of points in hundreds of dimensions. The underlying problem is to find, starting from a point that has been nudged slightly off the grid by a little noise, which grid point lies closest to it. In two dimensions this is trivial, but in hundreds of dimensions nobody knows a practical way to solve it, with classical or quantum computers, because there is no repeating pattern to exploit as there is with RSA.
The choice, however, came with fine print. To keep keys compact and operations fast, ML-KEM and ML-DSA use structured lattices, whose internal symmetries save a great deal of computation. Unstructured lattices are slower, but they give an attacker fewer footholds. Efficiency won, on the assumption that the structure would give nobody an advantage, although, as a precaution, NIST selected a second algorithm in 2025, HQC, which relies on entirely different mathematics.
Structured lattice, built by repeating a single block, versus an unstructured lattice
With the standards published, the countdown began. In the European Union, the coordinated roadmap asks member states to start the transition before the end of 2026 and to have high-risk use cases migrated by the end of 2030 at the latest. In the United States, NIST confirmed in October 2026 that it will remove vulnerable algorithms such as RSA from its standards by 2035, and considerably earlier for high-risk systems.
The urgency has a concrete explanation, known as "harvest now, decrypt later": anyone can capture RSA-encrypted communications today and wait until the right machine exists to read them. For information that must remain confidential ten years from now, the risk is therefore already real. In the meantime, most deployments use hybrid schemes, which combine a classical algorithm with a post-quantum one, so that an attacker would have to break both to read the data.
28–30 November: the rumour and what Anthropic actually published
Over the weekend of 28 November, a claim began circulating on X that an AI lab had broken RSA-2048, and Elon Musk helped spread it by replying that he had heard it from several people (Fortune).
On the evening of Monday 30 November, Anthropic published what it really had: four theoretical papers on lattices, none of them about RSA. The main one presents a quantum algorithm against the mathematical problem underlying ML-KEM and ML-DSA. It was found by an internal Claude model that has not yet been released, and the proofs are machine-checked in Lean, a language that verifies every mathematical step; all the material is available on GitHub. Before publishing, Anthropic had shared it with independent cryptographers and with the US government (NPR).
The reviewers, who sign as the Cryptography Incident Review Group, describe the attack as "galactic". The term comes from theoretical computer science, where a galactic algorithm is one that beats the known methods on paper, but only for inputs so enormous that they never occur in practice. It is like a shortcut between Barcelona and Girona that would only save time if the trip were billions of kilometres long. In this case, for the smallest keys in the standards, the attack would cost more than 2¹⁰⁰⁰ quantum operations, a number with about 300 digits, when the observable universe is estimated to contain around 10⁸⁰ atoms. That is why Scott Aaronson, a theoretical computer scientist specialising in quantum computing, concluded on his blog that it is "not an imminent danger to current encryption".
Illustrative chart: the new attack only beats the known ones for absurdly large keys
Why the replacement is now in question
If there is no immediate danger, why does it matter so much? Because the attack exploits precisely the structure that was added to the lattices to gain efficiency, in other words, the fine print accepted in 2024. Anthropic itself acknowledges that the result lowers its long-term confidence in structured lattices, while its other three papers strengthen confidence in unstructured ones. Aaronson adds that the practical impact will depend on whether someone manages to improve one specific part of the algorithm, and the reviewers consider it reasonable to expect improvements.
Put another way, the replacement has not failed, but the bet on efficiency now shows a theoretical crack that was unknown until a few weeks ago.
It also matters who found it. In July, Anthropic had already explained that one of its models had improved attacks on a reduced version of AES and on a candidate signature standard, at a cost of about $100,000 in compute each (Anthropic). Four months later, the result reaches the foundations of the standards now being deployed, confirming that AI has firmly entered cryptanalysis and can accelerate progress in any direction.
2 December: the NSA calls for speed
Two days later, the NSA published the press release NSA Advises Immediate Transition to Post-Quantum Cryptography, aimed at those responsible for national security systems and accompanied by a guide to immediate actions. It opens bluntly: "Delaying modernization exposes sensitive information, increases costs, and disrupts critical mission systems."
The release names no company, but explains that "Frontier SI companies have engaged with the U.S. government to responsibly disclose recent discoveries that impact the security of some cryptographic systems currently in use". It also warns that "adversaries are already collecting encrypted information to decrypt once the capabilities become available". According to CyberScoop, a joint statement with CISA made clear that these advances do not pose an immediate and widespread threat to current cryptography.
Paradoxical as it may seem, the NSA's position is consistent: finding a weakness in the replacement is a reason to speed up, not to slow down, because RSA remains far easier to break with a quantum computer, and the best answer to the uncertainty is to combine algorithms and be able to swap them quickly. The NSA's most practical warning concerns firmware: firmware signatures and hardware roots of trust may be impossible to update over a device's entire lifetime, so equipment that is not bought with post-quantum protection today will eventually have to be replaced.
The future: is there an alternative if structured lattices fail?
The obvious question after all this is what would happen if, a few years from now, someone turned the galactic attack into a practical one. The good news is that alternatives exist; the less good news is that none of them is perfect and they are at very different stages.
Raising ML-KEM's security level. This is the most immediate response and requires no new standard. ML-KEM comes in three levels (512, 768 and 1024), and the number of blocks in its structure, what mathematicians call the rank, grows with each level: 2, 3 and 4. Since the cost of the new attack rises steeply with the rank, using ML-KEM-768 or ML-KEM-1024 instead of the lightest version pushes the risk even further away, which is what the Cryptography Incident Review Group recommends when it calls for the highest security level each application can support.
Unstructured lattices: FrodoKEM. It relies on the "plain" version of the lattice problem, without the symmetries the attack exploits, at the cost of larger keys and lower performance, as Microsoft, which is involved in its development, explains. It is not a NIST standard, but Germany's Federal Office for Information Security (BSI) recommends it alongside ML-KEM, and Anthropic's other three papers strengthen confidence in precisely this kind of lattice.
Error-correcting codes: HQC and Classic McEliece. These rest on completely different mathematics, that of the codes used to correct errors in data transmission. HQC is NIST's choice for a second key-agreement algorithm: it was selected in March 2025, and NIST said at the time that the final standard would take about two years, so it is not yet available. Classic McEliece, which dates back to 1978 and is the oldest of them all, is a reminder that the alternatives can also bring surprises: on 1 October 2026, the BSI advised against using it in new developments because several recent attacks have substantially lowered its security level, although, according to the agency, none of them yet allows a practical attack.
Hash-based signatures. For signatures there is SLH-DSA, standardised in August 2024 alongside ML-DSA. Its security depends only on hash functions, one of the best-studied building blocks in cryptography, so it is considered very conservative, although its signatures are much larger and slower. NIST is also running an additional round for signatures with eight candidates based on diverse mathematics; tellingly, the only one that used lattices, HAWK, withdrew from the process this year.
| Alternative |
Based on |
Status in December 2026 |
| ML-KEM-768 / 1024 |
Structured lattices (higher rank) |
Standard since 2024; recommended now |
| FrodoKEM |
Unstructured lattices |
Recommended by the BSI; not a NIST standard |
| HQC |
Error-correcting codes |
Selected by NIST in 2025; standard in preparation |
| Classic McEliece |
Error-correcting codes |
BSI advises against it for new developments (October 2026) |
| SLH-DSA (signatures) |
Hash functions |
Standard since 2024; large, slow signatures |
| New signatures |
Several families |
Additional NIST round with eight candidates |
The upshot is that there is no single plan B, but rather a portfolio of options with different strengths and weaknesses. That is why experts insist so much on hybrid schemes and crypto-agility: if ML-KEM ever has to be replaced, those who designed their systems to change algorithms will do it with an update, and those who did not will have to rebuild them.
What being ready to change means in practice. Crypto-agility is not a technology you buy, but a way of designing systems built on three habits. The first is rotating keys and certificates: renewing them frequently and automatically, so that changing them is routine rather than an emergency. The industry is already moving that way: since March 2026, web certificates can be valid for at most 200 days, falling to 100 in 2027 and 47 in 2029 (Sectigo), so anyone still renewing them by hand will find it increasingly hard. The second is versioning: every piece of encrypted data, every signature and every certificate should record which algorithm and which key version produced it, so that old and new can coexist for a while and anything that needs it can be re-encrypted or re-signed without losing data. The third is hard-coding nothing: the algorithm should be a configuration setting rather than a decision buried in the code, so that changing it does not require rewriting the application or replacing the hardware.
What a small business can do this week
A small business does not need to implement cryptography itself, since most of it is handled by its providers, but it can apply, at its own scale, the three steps the NSA proposes: inventory, assess the risk, and prioritise and implement.
1. An inventory in a spreadsheet (one hour). One row per service is enough (website, email, VPN, cloud and backups, electronic document signing, card terminals and point of sale, and network devices such as the router, NAS, phone system or cameras), with a few columns: provider, who manages it, whether it updates automatically and how long it will be supported.
2. A quick check (five minutes). From your company's browser, open Cloudflare's test page, which shows whether your connection already uses a hybrid post-quantum key exchange (X25519MLKEM768). If it does not, the first step is to update the browser.
3. Three questions for each provider (one email).
Do you already use post-quantum or hybrid key exchange on your connections?
What is your plan for post-quantum signatures and certificates, and on what timeline?
Until when will you provide security updates for this device or service?
4. Priorities based on how long data must stay secret. The most urgent thing is to protect whatever must remain confidential ten years from now, such as contracts, health data or intellectual property, because that is exactly what someone could store today to read tomorrow.
5. A new purchasing criterion. Before buying a router, a NAS or any equipment meant to last for years, ask whether its firmware supports updates to post-quantum algorithms and signatures, which is, in practice, the NSA's advice translated to a small business.
6. Prepare for change, not just the inventory. Turn on automatic certificate renewal (most hosting and web services offer it, often through Let's Encrypt), add a column to your inventory with the algorithm and expiry date of each key or certificate, and ask whoever develops your software whether the encryption algorithm can be changed through configuration or is hard-coded.
Common mistakes: thinking this only affects governments and banks, waiting until "a real quantum computer" exists (data stolen today does not expire) and forgetting the devices nobody updates, which are usually the first to fall behind.
A final thought
Since 1994 we have known that RSA would fall once the quantum computer arrived, and since 2024 we have had a replacement ready. What happened this week does not change that ending, but it does add an important nuance: the replacement can have cracks too, and there are now machines dedicated to finding them.
Until now, the threat had a single name, quantum computing, and a timetable that depended on building a machine. Artificial intelligence needs no special hardware and can put any algorithm, classical or post-quantum, to the test in weeks and at a fraction of the cost, so confidence in a standard, which used to be earned over decades of study, can now be lost much more quickly.
So the point is not to stop migrating, but to accept that no algorithm is final and to avoid depending on a single piece of mathematics. Combining algorithms and being able to swap them quickly is no longer a theoretical precaution but the sensible way to build systems, and it all starts with something as unglamorous as taking inventory (knowing which services, providers and devices in your business depend on encryption) and preparing those systems so that rotating keys or changing algorithms becomes routine rather than an emergency.