Essay · Encryption · AI

Nuts and Crackers

AI didn’t crack RSA. Yet. But it will crack a lot of encryption, and most of ours was never built with AI in mind.

On 28 November, a rumour cracked the internet before anyone had cracked anything.

An app developer named Franz Bruckhoff posted that a frontier AI lab might have broken RSA-2048, the encryption that quietly guards your bank login, your company’s servers and a large share of the secure web. Elon Musk replied that he had heard the same thing from several people.

That was enough. Within hours, the claim was everywhere. Within two days, Germany’s Federal Office for Information Security, the BSI, said its cryptographers were looking into it. Coinbase moved to reassure crypto users.

And through all of it, nobody produced a single factored number, a paper, a proof, or even the name of the lab.

So let me say it plainly, before we go any further. AI did not crack RSA this week.

But that is not the interesting part of the story. The interesting part is how many people believed it would. Because I think, deep down, they are right.

01The nut

To understand why this rumour hit so hard, you need to see the nut we are all trying not to crack.

RSA was invented in 1977 by Ron Rivest, Adi Shamir and Leonard Adleman. The idea is beautiful. Take two enormous prime numbers and multiply them together. That part is easy; your phone can do it faster than you can blink. Now give someone only the answer and ask them to find the two primes you started with.

With a small number, it’s a children’s puzzle. 15 is 3 times 5. With a 2048-bit number, roughly 617 digits long, nobody on earth knows how to do it in any useful amount of time. That asymmetry, easy one way, brutally hard the other, is the shell around a huge share of the world’s secrets.

Your bank proves it is your bank with it. Software updates prove they weren’t tampered with. Servers, VPNs and payment systems lean on it every second of every day. Crack that shell, and you can impersonate institutions, forge signatures and, in some cases, read traffic that was recorded years ago.

That is the nut. Now meet the crackers.

Multiplying two huge primes takes your phone a blink. Splitting the answer back apart takes longer than anyone has. That one asymmetry guards a huge share of the world’s secrets.

02The crackers

Every few years, someone announces that RSA is dead. Every time, the mathematics politely declines to die.

This time, the crackers were rumours. A post that admitted it was repeating what others had said. A reply from Elon Musk. Thousands of reposts. Bruckhoff, to his credit, framed his post as precautions rather than proof, and his advice was sensible: move SSH keys off RSA, prefer modern TLS. The problem was everything that grew on top of it.

The cryptographers did what cryptographers do. They asked for the numbers. MIT’s Vinod Vaikuntanathan challenged parts of the speculation as exaggerated or simply wrong. Coinbase pointed out that recent AI-assisted maths had not shown a practical attack on the signatures blockchains use. The BSI said it would not give a verdict until its review was done.

That is how this works, and it is how it should work. In cryptography, a claim without the factors is a story, not a break.

Still, I don’t want to laugh the rumour off. Rumours like this spread because they feel plausible. And they feel plausible because of what really did happen this year.

AI didn’t crack RSA this week. It cracked our confidence. In cryptography, a claim without the factors is a story, not a break.

03What AI actually did

In September, two things happened that most people outside the field missed.

On 3 September, Eric Lu at Cognition finished factoring RSA-260, an 862-bit challenge number, with a swarm of the company’s Devin coding agents building and running a GPU version of the standard factoring software. It took about 4,900 GPU-days.

Sixteen days later, on 19 September, Anthropic engineer Steve Weis factored RSA-896, a 270-digit number. He had Claude port the same decades-old tool, CADO-NFS, onto GPUs, then orchestrate up to 2,048 idle chips for about ten days. Roughly 30 GPU-years of work, finished in a week and a half.

For context, the previous public record, RSA-250 in 2020, took about 2,700 CPU-years. Look at what happened to the line.

The public factoring record, in bitsRSA challenge numbers factored in public, 1994 to 2026. Two AI-assisted records landed 16 days apart. RSA-2048 is still far above.
Show the data
NumberBitsFactoredNote
RSA-129426April 1994About 600 volunteers
RSA-155512August 1999Number field sieve
RSA-768768December 2009About 2,000 single-core years
RSA-240795Late 2019
RSA-250829February 2020About 2,700 CPU-years
RSA-260862September 2026AI-assisted (Cognition, Devin), about 4,900 GPU-days
RSA-896896September 2026AI-assisted (Steve Weis, Claude), about 30 GPU-years
RSA-20482048Not factoredThe size that protects much of the web today

Now the honest part, because it matters. In both cases, the AI found no shortcut. There is no new mathematics. Weis said so directly: no new algorithm, and no impact on the security of deployed RSA-2048 keys. The method is the same number field sieve mathematicians built in the 1990s.

And the gap to 2048 bits is not a gap you close by working twice as hard. The effort to factor grows explosively as numbers get longer. Going from 896 bits to 2048 is not twice as hard. It is a different universe of hard.

So what did change? The engineering. Porting a fiendishly tuned piece of software to new hardware, then scheduling thousands of chips across spare capacity, is work that used to need a specialist team and months of patience. An AI agent did much of it, end to end.

The maths held. The cost of attention collapsed. And that is the part that should keep us awake.

The maths held. The cost of attention collapsed. That is the part that should keep us awake.

04Why I say “yet”

I have said it many times: AI’s current best is the least it will ever be. Apply that to encryption and you get three roads to a crack, and AI is walking down all of them.

The first road goes around the maths. Almost no real system is broken by solving the hard problem head on. It is broken through the implementation. A random number generator that isn’t quite random. A key left in a public code repository. A chip that leaks its secret through timing or power use. A protocol that falls back to an old, weak setting when asked nicely. In my last security essay, Guillotines and Necks, I wrote about AI “exploit foundries” that hunt for flaws around the clock and turned up more than a dozen possible zero-days in a single month. Point those foundries at cryptographic code and most of the “cracks” of the next few years will come from here. Not from breaking the nut, but from finding where the shell was glued badly.

The second road goes through the maths. Could an AI help discover a genuinely faster way to factor, or to break the other hard problems we rely on? Nobody has shown it, and I won’t pretend otherwise. But AI is already working alongside mathematicians on hard problems, and the number field sieve itself was once a new idea that seemed impossible. Betting your country’s secrets on “no one will ever think of anything better” has never been a winning bet in cryptography.

The third road goes over the maths entirely. A large enough quantum computer, running an algorithm Peter Shor published in 1994, would split RSA numbers with ease. The machines aren’t there yet. But look at how fast the estimate of what it would take has been falling.

Qubits needed to break RSA-2048, by year of the estimateNoisy physical qubits, on a log scale. Estimates as summarised by Google’s quantum team. Today’s best machines are shown for comparison.
Show the data
EstimateQubitsNote
2012About 1 billionSurface-code estimate
2019About 20 millionGidney and Ekerå, about eight hours
2025About 1 millionGidney, under a week of running
Today’s machines100 to 1,000With useful error rates, per Google

A thousandfold drop in thirteen years, on paper. The hardware is still a long way short, and nobody serious will give you a date. But every one of those reductions came from cleverer engineering and better error correction, exactly the kind of design work AI is getting very good at.

Three roads. Not one of them requires a miracle. That is why I write “yet”.

05Built before AI

This is the heart of it. RSA was designed in 1977. Elliptic-curve cryptography, which protects much of what RSA doesn’t, took off in the 1990s and 2000s. Our key sizes, our protocols, our “this will take a billion years” margins were all calculated for a world where the attacker was a person, or a team of people, with limited time and limited patience.

That world is gone.

The attacker now is a fleet. It doesn’t get tired. It reads every line of your code. It tries every misconfiguration on every server, every night. It can port a factoring program to new hardware without a specialist. And it gets better every few months.

So the case for upgrading our encryption is not that RSA has been broken. It hasn’t. The case is that the assumptions it was built on have been broken. Our encryption was engineered for human-speed attackers, and we are now in a machine-speed world.

Our encryption wasn’t built for AI. It was built for patient humans. The maths hasn’t broken. The assumptions have.

06The timer is already running

If the crack is years away, why worry now? Because some of your data is being stolen today to be opened later.

Security people call it “harvest now, decrypt later”. An adversary records encrypted traffic today, from banks, ministries, hospitals and telecoms, and simply waits. The day the lock gives way, by AI, by quantum, or by both, everything recorded becomes readable at once. In its October report on the move to new encryption, NIST, the US standards body, calls this threat one of the main reasons the transition is urgent.

Now think about how long your secrets need to stay secret. A medical record: a lifetime. A national identity database: decades. A land title, a diplomatic cable, the full history of a mobile money account: longer than any of us will be working.

If a secret must outlive the lock protecting it, the lock is already too weak.

Washington has already done the maths. Under a recent executive order, US federal high-value systems must move their key exchange to post-quantum standards by 2030 and their digital signatures by 2031, with 2035 the overall target across federal systems. Other governments are drawing up their own timelines.

Now ask the question I keep asking about Africa. Where is our timeline? Our banks, mobile money networks, national ID systems and e-government platforms run on the same RSA and elliptic curves as everyone else. In Guillotines and Necks, I described attackers walking out of a North African government agency with more than 300,000 national identity records. Imagine that data harvested quietly today, and opened in ten years.

07What upgrading actually looks like

The good news is that the new locks already exist.

In August 2024, NIST published the first post-quantum encryption standards: ML-KEM for setting up shared keys, and ML-DSA and SLH-DSA for digital signatures. Most of them rest on a different kind of nut, problems built on lattices, a vast grid of points in hundreds of dimensions where finding the hidden short path is hard even for a quantum computer, as far as anyone knows.

Some of the world’s biggest platforms have started moving. Signal added post-quantum protection to its messaging protocol. Apple did the same for iMessage. Chrome now uses a hybrid of classic and post-quantum key exchange by default, so much of your browsing is already protected against tomorrow’s eavesdroppers.

That word “hybrid” matters. NIST describes it as using two padlocks on a door instead of one: keep the trusted old lock, add the new one, and an attacker has to break both. While the new maths earns its reputation, that is exactly the humility we need.

But the deepest change isn’t any single algorithm. It is crypto-agility: building systems so the encryption can be swapped quickly, without ripping out everything around it. RSA lasted almost fifty years. Nothing we deploy today should be designed on the assumption that it will last that long. In an age where AI keeps getting stronger, the ability to change your locks fast is itself a security control.

Don’t just buy a stronger lock. Build a door that can change its lock overnight. In the age of AI, agility is a security control.

And the locks of the future won’t live only in software. More and more of our security will move into hardware: secure chips inside phones and laptops, hardware keys on our keyrings, and dedicated security modules that keep an organisation’s most precious keys sealed away, where no clever piece of code can simply read them out of memory. Put that hardware together with new encryption algorithms built for an age of AI and quantum machines, and you have the two forces that will set the pace for the next frontier of security.

08What to do on Monday

You don’t need to panic. You do need to start. This is what I would ask of every bank, telco, ministry, hospital and startup I work with:

  • Find your locks. Make an inventory of every place you use encryption: certificates, VPNs, SSH keys, payment hardware, the libraries inside your apps, the systems your vendors run for you. You can’t replace locks you can’t find.
  • Start with the secrets that must last. Identity records, health data, financial histories and state communications are the harvest targets. Move their key exchange first.
  • Turn on hybrid post-quantum where it already exists. Modern TLS libraries, browsers and messaging tools support it today. Often it is a setting, not a project.
  • Retire the easy wins. Old RSA SSH keys, short keys and outdated protocols are cheap to replace and expensive to keep.
  • Write agility into every contract. Never buy a system whose encryption can’t be upgraded without replacing the system.
  • Guard the keys, not just the maths. Most real breaks will come through stolen keys and sloppy implementations. Use hardware key storage, rotate keys, and let your own AI red team hunt for weaknesses before someone else’s does.
  • Ignore the snake oil. Anyone selling “unbreakable, quantum-proof” encryption that isn’t built on public, peer-reviewed standards is selling you a rumour with a price tag.

09Africa’s chance to start secure

In my first essay I wrote that we skipped the landline and went straight to mobile. Encryption gives us the same opportunity, if we take it.

Much of the rich world now faces a slow, expensive retrofit of systems built decades ago. Across Africa, a great deal of our critical digital infrastructure is being built right now: payment switches, national ID platforms, health records, digital land registries, data archives like the ones I described in Living Archives. We can build them post-quantum and crypto-agile from day one, instead of patching them in a panic in 2035.

That needs regulators who set timelines, not just guidelines. It needs procurement teams who ask the right questions. It needs universities training engineers in modern cryptography, and governments that treat encryption as national infrastructure, because that is exactly what it is.

We cannot afford to be the last continent still running 1977’s locks on 2035’s data.

10Before midnight

In Tchaikovsky’s ballet The Nutcracker, the magic happens at midnight. The toys come alive, the nutcracker becomes a prince, and nothing in the house is quite what it was an hour before.

Encryption has its own midnight. Cryptographers have a name for it: the day a machine, quantum or otherwise, can break the locks we rely on. Nobody can tell you the hour. Not the rumour mill, not the labs, and not me.

What I can tell you is this. The rumour was false. The direction is real. AI is already setting factoring records, the cost of a quantum break keeps falling, and the people who want our secrets are recording them now and waiting patiently for the clock.

So don’t wait for proof that the nut has cracked. By the time the factors are posted, it will be too late to change the locks on everything already stolen.

So let me end with a prediction, and a challenge.

Every organisation that holds data worth stealing needs a post-quantum security plan. Banks and telcos, hospitals and ministries, mobile money operators and start-ups. Not a slide in a strategy deck. A real plan: which systems, which keys, in what order, by what date.

And the AI labs should be the ones leading it. They are teaching machines to read every line of code, to port factoring software onto thousands of GPUs and to hunt for flaws around the clock. Nobody understands better how fast the clock is moving. So they should be first to publish post-quantum, crypto-agile plans for their own systems and for the millions of people who depend on them, and to build the tools that help everyone else make the move.

I expect to see it in the coming months. And the labs that announce it first won’t be admitting weakness. They’ll be showing that they understand the century they are building.

Build like it’s 11:59.

Nobody can tell you when encryption’s midnight arrives. So don’t wait for proof the nut has cracked. Build like it’s 11:59.

Let’s code a new era. #Be_Scientific