Every time you pay online, send an encrypted message or log in to your bank, you are trusting mathematics. Most digital security systems rely on problems that are known to be posed, but that nobody knows how to solve quickly. The most famous consists of finding the two large prime numbers which, multiplied together, give a giant number. Multiplying them is easy. Breaking it down, what is called factorisation, would take the best computers thousands of years. It is on this difficulty that the RSA system, used all over the world, rests.
But what would happen if an AI found a shortcut?
Six mathematics papers in one day
The question is no longer theoretical. On 25 November, Google published six research papers in mathematics and theoretical computer science, all produced by Cogentic, a system in which several AI agents divide up the roles: some look for proofs, others play devil's advocate, others still write the final paper. According to Google, each result was obtained "entirely" by Cogentic, without human intervention beyond the initial request.
One of these papers deals precisely with factorisation. It announces a method whose theoretical speed is finally demonstrated, without relying on unproven assumptions, something mathematicians had been seeking for more than thirty years. Let us be reassured straight away: according to the site OfficeChai, which analysed this work, it is "not a faster method for breaking real encryption keys". The existing method remains more effective in practice. It is a theoretical advance, not a weapon. And like all work produced by AI, these papers have not yet been checked by other researchers.
"One or more bombs"
What is more worrying is what we do not see. Scott Aaronson, a computer scientist at the University of Texas at Austin and a recognised specialist in quantum computing, wrote on his blog that he was "virtually certain, from multiple reliable sources, that AI labs are now sitting on one or more bombs" in the field of cryptography. He does acknowledge, however, that he is much less sure of their exact nature, and refuses to "spread unverified rumours".
Moxie Marlinspike, the creator of the encrypted messaging service Signal, is no more reassuring. Asked about the subject, he replied that he "did not know" whether the mathematical progress of AI threatened the cryptography currently in use, and estimated that a transition to new systems might have to happen faster than the five years envisaged by the industry.
In 1977, the very year they invented the RSA system, researchers Ron Rivest, Adi Shamir and Leonard Adleman issued a challenge in Scientific American, via Martin Gardner's famous column: decipher a message encoded with a 129-digit number. Ron Rivest estimated at the time that it would take 40 million billion years to succeed. It took seventeen years. In 1994, around 600 volunteers linked by the internet combined their computers and revealed the message: "The Magic Words are Squeamish Ossifrage". A lesson in humility: what seems impossible is often only temporarily so.
The problem is not only technical
We had been preparing for years for a well-identified threat: the quantum computer, theoretically capable of breaking RSA. Researchers therefore designed new systems, known as post-quantum, and states set transition timetables. This threat had one advantage: it was visible, gradual, and everyone could follow its progress.
A discovery made by an AI would be of a different nature. It could emerge all at once, in a private laboratory, without warning. And the question would then become political as much as technical: who should be told first? Governments? Banks? Software makers? The public? And for how long can a company keep to itself a discovery that threatens the security of billions of people?
AI laboratories are already beginning to face this dilemma on a smaller scale. Their tools find security flaws in software, which they report to developers so that they can be fixed. A scanner developed by Anthropic, the company behind Claude, has thus flagged more than 5,000 flaws in 680 open-source software projects. One of them, in the website software Drupal, is now being actively exploited by attackers. A discovered flaw is never fully under control.
Trust, a resource to protect
In recent weeks, AIs have notched up a series of mathematical breakthroughs, as when Claude and OpenAI both claimed the same conjecture. It is a fascinating time for knowledge. But it forces us to think about a question we thought was reserved for science fiction: what do you do when a machine discovers something we are not ready to know?
The answer will not come from mathematicians alone. It will depend on transparency rules, on cooperation between laboratories, governments and security experts, and on the trust we place in those who hold these discoveries. Our digital security has always rested on a bet: that some problems would remain too difficult. That bet still holds. But it may be time to prepare for the day when it no longer does. And you, who would you trust to keep such a secret?