Shor, Grover and the lattice scare: what quantum computers will really break

In the last week of November a very specific rumour was going around on X, namely that Anthropic had broken RSA-2048. On Sunday the 29th an Anthropic engineer posted a link to an almost empty website, the Cryptography Incident Review Group, and the speculation exploded. On Monday the 30th it became clear what was actually there. The group brings together 21 cryptographers, among them Dan Boneh, Matthew Green, Chris Peikert and Vadim Lyubashevsky of IBM Research. It is not an Anthropic committee, and the person who shared it later clarified that it is independent.
Anthropic published four papers on lattices, the mathematics behind ML-KEM and ML-DSA, the two NIST post-quantum standards. The main result is a quantum algorithm that, in theory, solves certain Module-LWE problems much faster than expected. In practice it is a "galactic" algorithm. On the real parameters of ML-KEM and ML-DSA it would cost more than 2 to the power of 1000 quantum operations, far worse than the attacks we already know, which are out of reach anyway. RSA has nothing to do with it. According to Anthropic, the results were found by a Claude model that has not been released yet.
A lattice is a regular grid of points. In two dimensions it looks like the corners of squared paper, perhaps tilted and stretched. The grid is defined by a few basis vectors, and every point is obtained by adding them up a whole number of times. In two or three dimensions, finding the grid point closest to an arbitrary position is trivial. In hundreds of dimensions, starting from a deliberately awkward basis made of long, almost parallel vectors, no known algorithm, classical or quantum, can do it in reasonable time.
Learning With Errors, or LWE, builds on exactly this difficulty. You take a secret, combine it with public numbers and add a little random noise. Without the noise you would just solve a system of equations as in school. With the noise, recovering the secret amounts to finding the lattice point closest to a slightly shifted target. Module-LWE is a structured variant that works on blocks of polynomials instead of single numbers, which makes keys and computations much more compact. ML-KEM builds key exchange on it, and ML-DSA builds signatures on it, relying also on a sibling problem called Module-SIS. That structure is precisely what Anthropic's algorithm tries to exploit, while on unstructured lattices its other papers actually increase confidence.
Something similar had happened in July, with more concrete effects. Claude Mythos Preview found an attack on HAWK, a post-quantum signature scheme in the NIST process, in about 60 hours, effectively halving its key strength, and the authors withdrew it. The cryptography in use has not fallen, but AI has started doing serious cryptanalysis, and that changes how it makes sense to migrate. To understand why, we need to go back to two algorithms from the nineties.
What I take home. Nobody has broken the cryptography that protects banks, websites and messages today. What happened is that an AI found a theoretical weakness in the new cryptography, the kind designed to resist quantum computers, and for now that weakness exists only on paper. The signal worth keeping is a different one, namely that machines have started looking for weak spots in cryptography much faster than before.
Shor, or why RSA and ECC have an expiry date
In 1994 Peter Shor, at Bell Labs, shows that a quantum computer can factor an integer and compute discrete logarithms in polynomial time. Almost all the public-key cryptography we use rests on one of those two problems. RSA relies on the difficulty of factoring the product of two large primes. Diffie-Hellman, ECDH, ECDSA, Ed25519 and Schnorr signatures rely on the discrete logarithm, in a finite group or on an elliptic curve.
Classically, the best attack on RSA-2048 is still subexponential and impractical. Shor turns factoring into the search for a period, meaning a pattern that repeats, and the quantum Fourier transform finds it efficiently. This is a jump in complexity class, not a gradual improvement. That is why nobody proposes a longer RSA as a defence. Doubling the key barely moves the cost of the quantum attack and slows everything else down quite a lot.
Elliptic curves are, paradoxically, more exposed than RSA. They were designed to give the same classical security with much shorter keys, 256 bits against 2048 or 3072. Against Shor that compactness becomes a weakness. Craig Gidney's 2025 work estimates that RSA-2048 could be factored in about five days with fewer than a million noisy physical qubits, using about 1,500 logical qubits and a few billion Toffoli gates. In March 2026 Google Quantum AI published an estimate for secp256k1, the Bitcoin curve, with about 1,200 to 1,450 logical qubits and 70 to 90 million Toffoli gates. On superconducting hardware that would mean fewer than half a million physical qubits and a run of a few minutes.
The number of logical qubits is similar, the difference is in the operations, almost two orders of magnitude fewer for the curve. Google chose not to publish the circuit and to prove that it exists with a zero-knowledge proof. Other 2026 estimates, for neutral atoms or cat qubits, go down to a few tens of thousands of physical qubits, with longer runtimes and very different assumptions. Almost all of them are preprints, but since 2012 the estimates have dropped by about four orders of magnitude.
The hardware is far behind. The largest published results reach a few dozen logical qubits, often with codes that detect errors and discard the bad runs instead of correcting them. IBM showed 70 logical qubits on structured circuits, Quantinuum between 48 and 94, Google below-threshold correction on a single logical qubit. IBM aims for 200 logical qubits in 2029. The gap is still wide, but it is a gap of engineering more than of physics.
What I take home. Almost everything that protects internet connections, digital signatures and crypto wallets today relies on mathematical problems that a large enough quantum computer would solve quickly. That computer does not exist yet, and today's machines are very far from it. But every year the estimate of how big it needs to be goes down, and the short keys of elliptic curves would fall before RSA.
Grover, the quantum algorithm that is less scary
In 1996 Lov Grover, also at Bell Labs, publishes an unstructured search algorithm with a quadratic speedup. Searching for a key among 2 to the n possibilities takes about 2 to the n/2 iterations instead of 2 to the n. On paper AES-128 drops to 64 bits of effective security and AES-256 to 128. Hence the rule you hear often, double your symmetric keys and sleep well.
In practice Grover is much less dangerous than that division by two suggests. The algorithm is inherently serial. If I split the work across K machines the time only drops by the square root of K, not by K as in a classical distributed attack. Every iteration requires running AES as an error-corrected quantum circuit, with a clock much slower than an ASIC. That is why NIST still considers AES-128 acceptable at the first post-quantum security level. The same goes for SHA-256, with preimage resistance around 128 bits.
The difference from Shor is structure. RSA, Diffie-Hellman and elliptic curves work because there is a precise mathematical relationship between the public key and the private key, and that relationship is exactly what Shor exploits to recover the private key. A longer key does not help, because the structure stays the same. A cipher like AES or a hash function like SHA-256 is designed to have no exploitable structure at all, and a quantum computer is left with nothing but a smarter trial-and-error search, with a quadratic advantage. That advantage is neutralised by 256-bit keys and hashes. As far as we know today, symmetric cryptography therefore stays secure, while asymmetric cryptography has to be replaced, and that is where almost all the migration work is.
| Algorithm | Typical use | Quantum effect | Replacement or mitigation |
|---|---|---|---|
| RSA-2048/3072 | Encryption, signatures, certificates | Broken by Shor | ML-KEM, ML-DSA |
| ECDH (X25519, P-256) | Key exchange in TLS, VPN, SSH | Broken by Shor, with fewer resources than RSA | Hybrid X25519 + ML-KEM-768 |
| ECDSA, Ed25519, Schnorr | Signatures, PKI, blockchains | Broken by Shor | ML-DSA, SLH-DSA, FN-DSA (coming) |
| AES-128 | Symmetric encryption | Grover, reduced margin but accepted today | AES-256 for long-lived data |
| AES-256 | Symmetric encryption | Grover, about 128 effective bits | No change needed |
| SHA-256 | Hashing, integrity, mining | Grover, limited impact | SHA-384/512 where more margin is needed |
What I take home. Symmetric cryptography is like a padlock with a key that both sides share, and it is what locks files, disks and connections. Against a quantum computer it holds up, as long as the keys are long. Asymmetric cryptography is the system two parties use to exchange that key and recognise each other without ever having met, and that is the part that has to be replaced.
What is already standard and what is not
In August 2024 NIST published ML-KEM (FIPS 203, formerly Kyber) for key exchange, ML-DSA (FIPS 204, formerly Dilithium) for signatures, and SLH-DSA (FIPS 205), a signature based only on hash functions, heavy but with very conservative assumptions. In 2025 it chose HQC, based on error-correcting codes, as a backup KEM, but the draft is not out yet. FN-DSA, derived from Falcon, is still in development.
The dates are now written down. The final version of NIST IR 8547, from October 2026, deprecates RSA, ECDSA, EdDSA and Diffie-Hellman after 2030 and disallows them after 2035. In the United States the most sensitive federal systems must move to post-quantum key exchange by the end of 2030 and to post-quantum signatures by the end of 2031. In Europe the coordinated roadmap of the NIS Cooperation Group asks member states for inventories and national plans by the end of 2026, migration of high-risk use cases by 2030, and of the rest, as far as possible, by 2035.
On the deployment side things went faster than usual, at least for key exchange. The main browsers already negotiate X25519 with ML-KEM-768 in TLS 1.3, and Cloudflare says that 73% of human traffic on its network is post-quantum encrypted. OpenSSH uses a hybrid exchange by default, iMessage has PQ3, and Signal added PQXDH and then the SPQR ratchet. Signatures and certificates, on the other hand, are still almost all classical.
What I take home. The replacements already exist, they are public standards, and the old algorithms have exit dates, 2030 and 2035. Anyone using an up-to-date browser or going through Cloudflare is already protected, often without knowing it, as far as key exchange is concerned. Almost all the work on signatures and certificates is still missing, meaning on how you prove you are who you say you are.
Changing algorithm with one click
The recommendation that comes back in every document, including Monday's CIRG statement, is crypto-agility. Design systems so that a single scheme can be replaced quickly if needed. The HAWK case and the Anthropic papers explain why quite well. The transition does not only protect against quantum, it also protects against cryptanalysis that now moves faster, and that might find a problem precisely in the algorithms we are migrating to. That is why the CIRG also suggests hybrid schemes built on different mathematical foundations, and the highest security level each system can sustain.
The click, though, only exists where someone planned for it. In TLS key exchange is negotiated on every connection, and that is exactly where the migration went fast. You update client and server and the protocol does the rest. Almost everything else does not work like that. Algorithms are hardwired into application code, libraries, HSMs, smart cards, bootloaders and certificates that last for years. A root CA, a firmware signing key burned into ROM or a car with a fifteen-year service life do not change algorithm with a configuration update.
Then there is size. An Ed25519 signature takes 64 bytes, an ML-DSA-44 signature 2,420, and the public key grows from 32 to 1,312 bytes. A post-quantum certificate chain adds several kilobytes to every handshake. The hybrid key exchange alone, with a larger ClientHello, already broke some middleboxes that expected it in a single packet. With signatures the problem multiplies, on DNSSEC, on embedded systems and on payment cards with slow chips.
So crypto-agility is architecture work, not a button. You need to know where you use what, and this is where the cryptographic inventory comes in, more and more often in the form of a CBOM, a cryptographic bill of materials next to the software one. You need abstractions that separate application logic from the primitive, configuration that lets you rotate algorithms and keys, and tested procedures to replace a root of trust. For many companies the hardest part will be the inventory itself, because few people know how many libraries, appliances and suppliers speak RSA inside their systems.
What I take home. Changing algorithm is easy only where the system was designed for it, as in browsers. In most companies cryptography is wedged into different hardware, software and suppliers, and the new keys are also much heavier. The first concrete step is to list where cryptography is used and with what, because you cannot replace what you do not know you have.
Which data is most exposed
The threat that makes all this urgent is called "harvest now, decrypt later". Whoever intercepts traffic encrypted with RSA or ECDH today can store it and decrypt it once they have the machine. Michele Mosca's inequality describes the picture well. If the time a piece of data must stay confidential, plus the time needed to migrate, is longer than the time left before a useful quantum computer, that data is already compromised today. For data that must stay secret for twenty years, if you take a Q-Day between 2030 and 2035 seriously, the margin is already gone.
This gives a fairly clear ranking of what to protect first.
- Long-lived confidential data, such as health records, genetic and biometric data, state secrets, intellectual property, contracts and financial positions.
- Keys and signatures that stay valid for a long time, such as root CAs, firmware and code signatures, device identities and persistent access credentials.
- Systems with long life cycles, such as industrial infrastructure, cars, medical devices and satellites, where the cryptography chosen today will stay in the field for decades.
Traffic with data that loses value within hours is the smaller problem. This year, however, the priorities flipped. As long as Q-Day seemed far away, encryption against harvest now was the only urgency, because a signature forged in the future does not touch the past. In March Google set 2029 as the date for its own full migration, putting authentication first, and in April Cloudflare did the same. A forgotten quantum-vulnerable signing key becomes a way in, and an automatic update mechanism becomes a remote code execution vector.
What I take home. The data most at risk is the data that must stay secret for a long time, because someone can copy it today and open it in ten years. A blood test or a patent still matters in 2040, an online banking session closed yesterday does not. On top of that come the keys used to prove an identity, because whoever manages to forge them can walk into a system as if they were the owner.
IT, finance and security
For IT the perimeter is almost everything, from TLS, VPN and SSH to internal PKIs, code signing and backups with keys wrapped in RSA. Key exchange is largely solved for those who update regularly. The rest means touching suppliers, appliances and processes. Adding post-quantum is not enough, because as long as the old algorithm stays enabled an attacker can force a downgrade. Switching off the classical algorithms, on the federated web, is much harder than switching on the new ones.
Finance has all the problems of IT plus a few of its own. There are interbank networks with their own PKIs, fleets of HSMs with long replacement cycles, EMV cards that use RSA for offline authentication and stay in circulation for years, and a very deep supply chain. The G7 Cyber Expert Group points to 2035 as the target for the sector and 2030 to 2032 for critical systems. Europol, through the Quantum Safe Financial Forum, has published a method for setting priorities, and the BIS tested the migration of payment systems with Project Leap. In Europe, under DORA, managing cryptographic risk is already a supervisory matter.
For security the most interesting change is not quantum but AI. HAWK and the lattice papers show that a model can improve, in a few days, attacks that a community of experts had been examining for years. For now the results are theoretical or concern candidates that are not in use yet. But the same capability applies to implementations, where bugs are far more common than in the mathematics. The CIRG asks labs to also publish what they tried without success, which is as useful as a successful attack.
What I take home. For companies the job is not installing a product but reviewing systems, suppliers and contracts, and adding the new is not enough if the old stays switched on. Banks and regulators have already set deadlines, around 2030 for critical systems. Meanwhile AI makes the search for flaws faster, both for defenders and for attackers.
Cryptocurrency, where the public key really is public
Bitcoin and Ethereum use signatures on elliptic curves, ECDSA and Schnorr on secp256k1 for Bitcoin, ECDSA and BLS for Ethereum. Shor breaks all of them. Mining, on the other hand, is almost immune, because Grover would give a quadratic advantage on SHA-256 but with a clock so slow that it could not keep up with today's ASICs.
The weak point is the exposed public key. Many address types show only a hash of the key, which appears on the blockchain when the coins are spent. But old P2PK outputs, legacy multisig, Taproot outputs and every reused address already show it. According to Glassnode, in May about 6 million BTC, 30% of the supply, had a visible public key. Of these, about 1.9 million are exposed by design, including the Satoshi-era coins, estimated at around a million BTC, and another 4.1 million through operational habits such as address reuse, largely at exchanges. Other measurements, with different definitions, go above 7 million.
Google's estimates add a second problem. On fast hardware they put it at 9 to 23 minutes per key, depending on precomputation. The average block takes ten minutes and the key is visible in the mempool from the moment of spending, so even a transaction in flight would become attackable. Proposals exist but are still drafts. BIP-360 introduces a Taproot-like output type without the vulnerable spending path, BIP-361 proposes restricting spends with classical signatures after a migration window. The latter touches the sore point, namely what to do with the coins nobody will ever move. Ethereum has a more structured roadmap, with hash-based signatures and account migration, and a target around 2029.
What I take home. A significant share of the bitcoin in circulation is tied to keys already visible to everyone, and a future quantum computer could use them to spend those coins in place of the owner. Not reusing addresses and choosing careful custodians reduces the risk already today. The hardest knot remains political, namely what to do with coins that nobody will ever move, starting with those attributed to Satoshi.
Where we really are
The situation is less dramatic than X made it sound last week, but it is not calm. Nobody has broken RSA, nobody has broken ML-KEM, and according to both the authors and the CIRG, Anthropic's result has no practical consequences. At the same time the estimates for breaking elliptic curves collapsed within a year, some groups stopped publishing circuit details, and the people building quantum computers are migrating their own authentication on deadlines tighter than the regulators'.
The result on structured lattices is a weak signal, but it points in the opposite direction from those who would like to wait for a definitive standard before moving. As the CIRG writes, delaying means staying longer on systems that break with far fewer quantum resources than Anthropic's attack requires. It makes more sense to migrate now, in a hybrid and reversible way, and to invest in inventory and agility more than in picking the perfect algorithm.
It remains to be seen how long the truce for structured lattices will last, now that models do cryptanalysis too. It also remains to be seen whether the cost of this agility, in bandwidth, hardware and organisation, will be accepted before someone is forced to pay it in an emergency. For now my impression is that the calendar is being set by the labs more than by the regulators.
What I take home. Anthropic's result does not put today's data and connections at risk, and the new standards remain the right choice. It does make sense to start migrating now, without waiting for the perfect algorithm, and to do it in a way that lets you change again with little effort. Anyone with data that must stay confidential for many years, or with long-lived keys, should start there.