When you log in to your bank, when your phone installs an update, when a piece of software checks that it really comes from its publisher, a mathematical lock is working silently in the background. One of the most famous is called RSA. It has been protecting our digital exchanges for nearly fifty years.
On Friday 6 November, Google DeepMind announced that AI agents had found two new ways to weaken an old version of this lock, 1024-bit RSA. Not enough to empty your bank account. But enough to give pause to anyone who thought cryptography was safe from surprises.
How does RSA work?
The principle comes down to one simple idea. Multiplying two very large prime numbers is easy: a computer does it in an instant. Recovering those two numbers from the result, which is what we call factorisation, is on the other hand extraordinarily difficult.
RSA rests on this asymmetry. The result of the multiplication serves as the public key, which anyone can know. The two prime numbers stay secret. Key size is measured in bits: the longer it is, the stronger the lock. Today the standard is 2048 bits or more. 1024-bit keys have been considered too weak for more than ten years: the American standards institute, NIST, excluded them for signature creation as early as 2013.
RSA is not only used for encryption. It is also used for signing: proving that a file or message really comes from the person or company claiming to have sent it.
Who is behind this discovery?
The work was carried out by Dj Dvijotham and Abhradeep Thakurta, researchers at Google DeepMind, with two major names in the field: the American Nadia Heninger, of the University of California, San Diego and Inria, and the Frenchman Emmanuel Thomé, of Inria, the national institute for research in computer science. Both are part of the team that set the public record in 2020 for factoring an RSA key, 829 bits long.
The AI agents worked under the supervision of these human researchers. DeepMind did not specify which models were used.
First weakness: forged signatures
Before being signed, a message is completed by "padding", data added to prevent forgers from manufacturing signatures from existing ones. The agents showed that this protection was far more fragile than was thought in certain situations: when an attacker controls around half of the signed block, or more, forging a signature becomes almost as easy as if there were no padding at all.
To prove it, the agents attacked, in an isolated environment, a 1024-bit test key already broken by an academic study. They reproduced the result with 3.5 times less computation time, and with less than a thousandth of the power it would have taken to break the key itself.
When the attacker controls a smaller part of the message, for example a 32-byte digital fingerprint, the agents found a new algorithm. According to DeepMind's theoretical estimates, it would be around 1,600 times faster than the best method known so far.
Second weakness: breaking keys in series
An attacker targeting many keys of the same size can carry out a huge preparatory computation once, then use it for all the keys. The agents have discovered a new algorithm for these batch attacks. It would cut the average cost of each additional 1024-bit key by around 30 times.
| Finding | Claimed gain | Nature of the result |
|---|---|---|
| Forged signature, where the attacker controls a large part of the message | 3.5 times less computation | Measured on a test key already broken |
| Forged signature, with a small 32-byte hash | Around 1,600 times faster | Theoretical estimate |
| Factorisation of many keys in series | Around 30 times cheaper per additional key | New algorithm |
These results add to others. In September, a university team including Nadia Heninger and Emmanuel Thomé had already managed to forge signatures on a 1024-bit RSA key, without ever recovering its secret numbers, at a cost of 1,380 cumulative years of computation across the cores of many processors.
RSA takes its name from three MIT researchers, Ron Rivest, Adi Shamir and Leonard Adleman, who published it in 1977. But a British mathematician, Clifford Cocks, had found an equivalent system as early as 1973, at GCHQ, the UK's electronic intelligence service. Classified as secret, his discovery was only revealed in 1997. The most widely used lock on the internet was therefore first invented in an office whose contents no one was supposed to know.
Should we be worried?
For you, in everyday use, no. The 2048-bit and larger keys used today by modern sites and services are not affected, according to DeepMind. The figure of 1,600 remains a theoretical estimate, and no independent team has yet reproduced these results.
The risk lies elsewhere: in forgotten systems. Old equipment, connected objects, software that is never updated or old firmware signatures sometimes still use 1024-bit keys. For companies and public bodies, it is a useful reminder: take stock of these old keys and replace them.
It is also one more argument for the major transition under way towards so-called "post-quantum" cryptography, designed to withstand future quantum computers. A European roadmap published in 2025 calls on states to begin this transition by the end of 2026, and to protect their most sensitive uses by 2030.
The real message
What stands out is not the weakness of 1024-bit RSA, which everyone knew about. It is the speed. For decades, progress against the major encryption systems came slowly, over years of work by a handful of specialists. Now, AI agents can explore avenues on a scale that no human team could follow alone.
DeepMind's message, as reported by the specialist press, is clear: the strength of an encryption can no longer be treated as a fixed assumption that wears down slowly. The same tools can serve defenders and attackers alike. It is for reasons of this kind that Google first reserves its most gifted model in cybersecurity for the experts tasked with protecting systems. And it is also cryptography that makes it possible, conversely, to prove which AI answered you.
The locks of the internet have not given way. But from now on, machines are also coming to test their keyholes.