For a technology that is supposed to make our lives better, it does feel like a remarkably long time since any of us were able to read the letters “AI” without steeling ourselves for what comes next. And indeed, this week the team at Anthropic, makers of the AI assistant Claude, gave us the reassuring news that, while their AI had identified a new theoretical method to solve the equations used worldwide in digital encryption, effectively compromising security for every digital account on the planet, it “[does] not have practical, real-world consequences for today’s security systems.” Oh phew, thank goodness.

The creation of the Cryptography Incident Review Group (CIRG), a sort of AI Avengers comprising 21 leading brains — announced on the same day — is equally as reassuring, in a not really reassuring at all sort of way. By Thursday, the US National Security Agency had announced unspecified discoveries by leading AI companies posed “a significant threat to cryptographic systems ​protecting sensitive information”; this was followed by a coalition of AI firms issuing a joint warning urging organisations to adopt advanced forms of encryption “as soon as possible”.

Imagine opening up your banking app one morning next week and not being able to trust the balance you see on screen, numbers yo-yoing up and down. Or having to think twice about what you say to your partner on WhatsApp because someone else could be listening in. Or your government having to assume other countries could read some of its most closely guarded secrets.

It sounds like the plot line from a schlocky 1970s disaster B-movie. But some of the world’s best mathematicians believe we are on the brink of this doomsday scenario, after AI demonstrated terrifying leaps in solving problems previously thought unsolvable.

Rumours had been swirling for days that one or both of the world’s leading AI companies, OpenAI and Anthropic, had stumbled across a way to undermine some of the maths that keeps the internet safe. The rumours broke containment last week, with Andrew Bailey, the governor of the Bank of England, fielding questions about it as the central bank released its financial stability report.

Why are people so spooked? Several researchers say they have heard that some of the leading AI labs have found algorithms that can break public-key cryptography in “polynomial time”, meaning password keys that would currently take longer than the age of the universe to crack could, in principle, be broken in hours, or minutes… or seconds.

His post was titled “HOLY SHIT HOLY SHIT HOLY SHIT HOLY SHIT”

Scott Aaronson, a professor of computer science at the University of Texas at Austin, wrote on his blog that he was “virtually certain, from multiple reliable sources, that the AI labs are now sitting on one or more bombshells” relating to cryptography — the means by which we keep information secure. His post was titled “HOLY SHIT HOLY SHIT HOLY SHIT HOLY SHIT”. That’s because public-key cryptography protects almost everything we do online. It works because it rests on mathematical problems that it has long been thought would take computers an impractically long time to solve. Mathematicians are therefore worried AI might have worked out a shortcut to reverse-engineer those equations.

Mathematicians in panic mode

There had already been hints that this has happened. On October 26, OpenAI announced its newest artificial intelligence technology had refuted a conjecture related to the famous “P vs NP” problem — among the million-dollar Millennium Prize problems laid down by the Clay Mathematics Institute 25 years ago.

A fortnight ago, an Anthropic employee announced that, with the help of AI, he’d found a proof for the Riemann hypothesis, a problem that has stumped generations of mathematicians since 1859. Thus, everyone in the space is running for panic stations.

Cryptographers are professionally paranoid. We pay these people to worry about incredibly unlikely eventualities because the consequences of them coming to pass are so catastrophic. Being able to break a form of encryption in mathematical terms may still be some way off doing so in practical terms. The bigger issue is we now have to rely on AI companies to be responsible actors and keep AI models that may be able to do this under wraps. None of this should surprise those running the AI companies. In 2023, both OpenAI boss Sam Altman and his Anthropic counterpart Dario Amodei signed a statement that put the risk of human extinction at the hands of AI in the same bracket as the risks posed by pandemics and nuclear war.

The 2019 finale of HBO’s often prophetic TV comedy Silicon Valley might have seen some of this coming. It was about a small fictional tech start-up building a self-improving AI that, quite by accident, finds a way to crack encrypted data, funnily enough, “in polynomial time”. As the show explains, that would mean an end to digital privacy altogether. Passwords, financial systems, power grids and nuclear launch codes would all become vulnerable to anyone with access to a network. “Someone tell me how to feel?” says one of the characters. “Abject terror for you,” says another. “All will be exposed. Pure violence will become the only basis of power.” You can’t say we haven’t been warned.