// MIT TECH REVIEW — INTELLIGENZA ARTIFICIALE
Here’s what you need to know about AI’s potential threat to encryption
Frontier labs may have broken one of the key pillars of cryptography. This is what it could mean.
MIT Technology Review Explains: Let our writers untangle the complex, messy world of science and technology to help you understand what’s coming next. You can read more from the series here.
A frontier lab is rumored to be sitting on a mathematical breakthrough that makes factoring large numbers far easier than previously thought. If true, this could have huge implications for encryption, data security, and geopolitics. The report sent the computer science world into a frenzy of speculation over the weekend, drawing comment from Elon Musk and warnings that financial data could be at risk. Others have urged caution in the absence of any evidence.
Last week, the influential computer scientist and blogger Scott Aaronson posted that he was “virtually certain” the frontier AI labs Anthropic and OpenAI had one or more “bombshells” that could be relevant to cryptanalysis, the study of breaking codes. He said his analysis was based on multiple reliable sources.
The story soon picked up steam, amplified by Elon Musk and others, and coalesced into a rumor that AI had made a breakthrough in the challenge of breaking numbers down into their smallest prime factors. For instance, the prime factors of 15 are 3 and 5.
This is easy to do with small numbers, but it grows rapidly more difficult as the number gets bigger: With current technology and the best algorithm available, factoring the 617-digit numbers used in standard RSA keys would take longer than the age of the universe. That could be about to change.
The difficulty of factoring large numbers is the key to RSA encryption, which underpins the security of many online systems. In simple terms, it works like this: Every RSA key starts with two large secret prime numbers, which are multiplied together to create a public key. That public key can be used to lock messages, but only someone who knows the original prime numbers can unlock those messages or create valid digital signatures. Multiplying two numbers together is easy, but working backwards from the product to find them is exceptionally hard. It’s this lopsidedness that protects much online data.
Mathematicians make a distinction between problems that can be solved in “polynomial time”—meaning that they grow harder at a manageable and predictable rate—and those that cannot. There is already an algorithm—Shor’s algorithm—that can do factoring in polynomial time, but it requires a quantum computer that has not yet been built.
Security experts have long been warning about “Q-Day”—a quantum apocalypse where encryption breaks down, online systems become vulnerable, and state secrets spill out into the public domain. There have also been rumors that state actors have been stockpiling encrypted data in the hopes that a future quantum computer could crack it.
Factoring large numbers in polynomial time would, theoretically, mean that RSA encryption could be broken without waiting for quantum hardware to be good enough. It’s also been rumored that elliptic curve cryptography, another widely used form of encryption, could be under threat. More broadly, if AI can solve a problem like factoring in polynomial time rather than “exponential time,” it suggests that many other mathematical problems could be much more easily solvable than previously thought.