In a blog post entitled ‘HOLY SHIT HOLY SHIT HOLY SHIT HOLY SHIT’ Scott Aaronson, a highly regarded professor of Computer Science at the University of Texas, claimed that ‘yes, I’m virtually certain, from multiple reliable sources, that the AI labs are now sitting on one or more bombshells’. Since then, rumours have been swirling that RSA 2048, a key algorithm underpinning the security of the internet, has been cracked. Yesterday, the US National Security Agency (NSA) issued a warning that discoveries by AI companies pose ‘a significant threat to cryptographic systems.’ Within hours, leading AI companies issued a joint statement strongly supporting the NSA’s recommendation to accelerate the adoption of state-of-the-art post-quantum cryptography.
Given the mathematical superiority of AI, it no longer feels safe to rely on human ignorance to protect our data.
All cryptography works by encoding a message as a mathematics problem that is easy to solve if you know a secret key, but takes millions of years to crack if you don’t know the secret. The elegant feature of the RSA algorithm is that it allows people to encode a message even if they don’t know the secret key, but only someone with the secret can decode it. What this means in practice is that we can safely send our bank details to a retailer without first needing to meet them face to face to exchange code books.
The secret key underpinning the RSA algorithm consists of two large prime numbers. To encrypt messages you only need to know the product of these prime numbers, which is made public. To decrypt messages you need to know the two original primes, and this is kept secret. There is no known practical way to find the factors of the product of two large prime numbers. So even though everyone knows the public information, they still cannot calculate the secret key. This is what makes the system secure.
The catch is that saying ‘there is no known practical way’ is no longer very reassuring when we have created a super-intelligence that already knows much more than we do and is becoming more intelligent every week.
It is hard to overstate how good AI has become at mathematics. Maths as we know it ended this year, and mathematicians have been working collectively through the five stages of grief. Denial came to an end in September with AI’s solution to the Navier-Stokes problem, when the anger and bargaining began. When Levent Alpöge, a mathematician working for Anthropic, announced the solution to the Riemann Hypothesis on 20 November, most of us had already progressed to acceptance.
Proving the Riemann Hypothesis has long been the biggest prize in mathematics. Not because of its importance to humanity – quite the opposite. The Riemann Hypothesis brings together mathematicians’ obsessive interest in prime numbers and the alien abstraction of imaginary numbers. Its fascination lies in its combination of mathematical beauty, otherworldliness and its deep intractability. The AI proof is currently beyond human understanding, but despite this we know it is watertight: it is machine checked and irrefutable. In the coming months the proof will be improved and understood, but we know that from now on humanity is playing catch-up.
Given the mathematical superiority of AI, it no longer feels safe to rely on human ignorance to protect our data. Even if the rumours are wrong, as is quite likely with rumours, and AI teams have not yet cracked the RSA algorithm, perhaps a Russian AI will next week. The RSA algorithm is not the only potential vulnerability. Any of the cryptographic protocols underpinning e-commerce or cryptocurrencies could be broken, and it could happen soon.
As a result, on Tuesday, the Prudential Regulation Authority warned banks and insurers to prepare contingency measures to protect their systems. It’s important not to be alarmist as it is unlikely that these systems will become seriously compromised overnight. What is more likely is for researchers to find theoretical weaknesses that will erode our confidence in these systems rather than force us to scrap them immediately.
Vulnerabilities have emerged in cryptosystems in the past and we have survived. In fact, we already knew that if anyone succeeds in building a sufficiently powerful quantum computer, the RSA algorithm would then be broken. However, quantum computers are still some way from achieving this, so there has been no great sense of urgency. The UK’s National Cyber Security Centre has set a target date of 2031 to upgrade key infrastructure to ‘post-quantum’ algorithms that will be immune to these attacks. These post-quantum algorithms are also subject to theoretical attacks: on Monday, Anthropic released four papers describing how they might be compromised by an unimaginably powerful quantum computer. But for the time being, these algorithms are the most practical approach.
Now that the Riemann Hypothesis has gone, mathematics needs a new Holy Grail. One strong contender must surely be understanding whether secure cryptography is possible at all. We currently have no proof that any of the cryptography algorithms we depend upon are truly reliable, it may just be that humans are too stupid to break them. Alternatively, it may be that we are simply too stupid to prove that they cannot be broken, or perhaps the issue is that we are too stupid to find alternatives that work better. It is also possible that cryptography is possible, but it is impossible to prove it possible: this is the Donald Rumsfeld option and it makes everyone’s head hurt.
Breaking cryptography is just one of many ways AI might cause chaos for us, but equally it might be able to patch the gaps in our knowledge and give us a new infrastructure we know we can trust. Mathematicians are going to have to snap out of our collective depression and start working with our new super-intelligent colleague to find the answers society needs.












