AI news

Has AI Broken RSA? Aaronson Clarifies That Classical Polynomial-Time Factoring Remains a Rumor

By 机器之心编辑部0 viewsSource: 机器之心
Has AI broken RSA? Aaronson clarifies that classical polynomial-time factoring remains a rumor

Rumors claim OpenAI or Anthropic has found classical polynomial-time integer factoring. Aaronson says he should not be cited as confirmation. Google's public Cogentic factoring paper claims subexponential time, which does not establish a practical RSA break.

Regarding 'Factoring in P,' Aaronson added a clarification to his original comment: the rumor must not be treated as confirmation, and the scope of what he is confident about falls far short of classical polynomial-time integer factoring. The public materials cited in this article provide no algorithm and verification results establishing that practical RSA has been broken. The discussion of consequences below assumes both that the rumor is true and that the algorithm is practically usable. A breakthrough in integer factoring would not automatically break elliptic-curve, lattice-based, or hash-based cryptography.

A mathematical assumption that has supported modern internet security for nearly half a century may be overturned by AI.

On November 25, prominent computer scientist and quantum computing expert Scott Aaronson updated his personal blog, using four consecutive instances of "HOLY SHIT".

Article illustration

Aaronson acknowledged that his earlier blog posts, podcasts, and talks had failed to capture just how astonishing current developments are.

As OpenAI and Anthropic solve major mathematical problems in succession, a storm that could upend modern cryptography is also brewing.

The previous evening, Aaronson mentioned an unconfirmed rumor in his blog comments: one or both of OpenAI and Anthropic might have found a way to factor large integers in polynomial time on classical computers.

Article illustration

If the rumor is true and the algorithm is practically usable, it would directly overturn the security foundation of RSA, the cryptosystem introduced in 1977 and still widely used today.

Digital certificates could be forged, malicious software updates could pass signature verification, and some encrypted data previously considered secure could be decrypted.

RSA and other mechanisms that rely on the difficulty of integer factoring would be directly affected. Whether other cryptosystems are affected depends on whether the algorithm can extend to the mathematical problems they rely on.

A cryptography rumor circulating for ten days

In fact, Aaronson noticed something unusual more than a month earlier.

This October, OpenAI released 376 research results at once, spanning multiple fields of mathematics and theoretical computer science.

But one field stood out in that enormous list because of its absence: cryptography.

Article illustration

Aaronson disclosed at the time that, according to his sources, AI companies had begun cautiously and quietly investigating whether their latest internal models could break important cryptographic protocols and primitives.

If a major breakthrough were found, the relevant organizations would need to address potential security risks before other researchers independently discovered the same algorithms.

More than a month later, rumors surfaced of major cryptographic breakthroughs at AI labs.

On November 25, Andrew Curran, a longtime observer of frontier AI, said on X that he had also heard the news Aaronson mentioned, and that such rumors about Anthropic and OpenAI had been circulating for about ten days.

Article illustration

Given how similar the two labs' recent mathematical results have been, Curran speculated that if one had obtained a breakthrough algorithm, the other probably had too.

That same day, both labs' progress in algebraic complexity theory attracted widespread attention.

After Anthropic announced a proof of VP ≠ VNP, OpenAI promptly released its own proof, saying the result had already been obtained on November 6.

The succession of mathematical breakthroughs even changed Aaronson's expectations for the Millennium Prize Problem P versus NP.

'For the first time in my life, I feel in my gut that a proof of P ≠ NP is not far away.'

Article illustration

Beyond the mathematical results already made public, how much unpublished research might the two labs still possess?

On November 25, Aaronson updated his blog again, saying multiple reliable sources led him to believe the labs had some cryptographic bombshells. But he stressed that he had not seen details or heard directly from lab personnel, had much lower confidence about the specific nature of the results, and did not want to spread unverified rumors.

The most closely watched of these rumors is Factoring in P, meaning integer factoring in polynomial time on classical computers.

This problem has occupied computer scientists and mathematicians for decades and is one of the most important mathematical foundations of modern public-key cryptography.

AI might bypass the quantum computer humanity has waited more than 30 years for

In 1977, Ron Rivest, Adi Shamir, and Leonard Adleman introduced the RSA algorithm, allowing two parties to communicate securely without sharing a key in advance.

At the heart of RSA are two related keys: a public key and a private key. Anyone can encrypt information with the public key, but only the private key's holder can decrypt it.

Why, then, can an attacker not work backward from the public key to the private key?

RSA exploits a seemingly simple mathematical phenomenon: multiplying two large primes is easy, but recovering those primes from their product is difficult.

Calculating 61 × 53 = 3233 is easy, for example, but working backward from 3233 alone to find its prime factors 61 and 53 is less straightforward. When numbers grow to hundreds of digits, the computational difficulty of these two directions diverges enormously.

Article illustration

RSA uses the product of two large primes as part of the public key, while the primes themselves are crucial information for generating the private key.

If an efficient large-integer factoring algorithm is found, the private key can be recovered from public information, collapsing RSA's security foundation.

For nearly half a century, no classical algorithm has been found that factors large integers in polynomial time.

In 2020, an international research team successfully factored the 829-bit RSA-250 challenge number, setting a record at the time. But this remained far from the 2,048-bit RSA keys commonly used in practice.

As early as 1994, however, mathematician Peter Shor found a completely different route.

Shor's algorithm established that quantum computers can perform integer factoring and discrete logarithm computations in polynomial time.

Article illustration

The discovery shook cryptography and became one of the most important milestones in the history of quantum computing.

In theory, a sufficiently powerful fault-tolerant quantum computer would allow Shor's algorithm to break multiple public-key cryptosystems, including RSA.

But between a theoretical algorithm and practical execution lies a series of engineering problems, including qubit count, quantum error correction, and hardware stability.

Humanity has spent more than 30 years trying to bridge that gap. Now, AI might not need to cross it at all.

If a classical polynomial-time integer factoring algorithm can be found, humanity might use existing computing hardware to perform tasks previously entrusted to the prospect of large quantum computers. This would fundamentally change the computational complexity of large-integer factoring.

Once a practical breakthrough is achieved, the impact would extend beyond the confidentiality of encrypted data.

RSA performs another important function in the digital world: authentication.

Take software updates. A developer digitally signs software with a private key, and user devices use the public key to verify that an update comes from a trusted publisher.

If private keys can be recovered easily, attackers can forge a trusted publisher's signature and get malicious programs through the very verification mechanisms meant to ensure security.

From digital certificates and enterprise authentication to software supply chains and parts of critical infrastructure, trust relationships built on RSA could all be affected.

RSA might be only the beginning

As the cryptography rumors spread, Google also announced its latest AI mathematics research.

On November 25, Google Research released six mathematical papers generated by its AI research system Cogentic, three directly addressing integer factoring and discrete logarithms.

Article illustration

These papers propose theoretical bounds such as subexponential time. They do not provide polynomial-time integer factoring or establish that practical RSA has been broken. The results should be understood as the papers' claims, still requiring examination of public materials and expert review.

RSA relies on the difficulty of large-integer factoring, while Diffie–Hellman key exchange and elliptic-curve cryptography, or ECC, rely on problems such as discrete logarithms. These different mathematical hardness assumptions jointly underpin modern digital security.

Even next-generation cryptosystems designed to resist quantum attacks will face new challenges from AI.

In August 2024, the US National Institute of Standards and Technology, NIST, formally released its first three post-quantum cryptography standards, using lattice-based and hash-based techniques.

Article illustration

But resisting quantum attacks does not imply resisting new algorithms on classical computers.

In 2022, SIKE, which had competed in NIST's post-quantum cryptography standardization process, was broken quickly on an ordinary computer after researchers discovered a new mathematical attack.

When computers become faster, security can still be increased by lengthening keys. But if a more efficient attack algorithm emerges, even longer keys may not help, and the entire cryptosystem may need replacing. AI could greatly accelerate the discovery of such algorithms.

Research directions that once took mathematicians years can now be pursued in parallel by large numbers of AI research agents. At the same time, cryptographers can use AI to discover weaknesses and design new cryptographic algorithms.

AI too powerful to release

The cryptography controversy also adds nuance to recent discussions about releases of new OpenAI and Anthropic models.

On November 24, US outlet Axios, citing more than 20 people familiar with internal discussions, reported that unreleased internal models at OpenAI and Anthropic were becoming increasingly powerful. Many employees had begun worrying about whether those models could safely be released to the public.

An OpenAI spokesperson also said new safety requirements might slow the pace of model releases.

A day later, Aaronson's remarks about cryptographic bombshells began spreading widely on social media.

Some speculated that mathematical breakthroughs threatening existing cryptosystems might be why the two labs had delayed releasing their latest models.

Article illustration

Others speculated that a proof resolving P versus NP might already be on the way.

Article illustration

For AI labs, security risks from cryptographic breakthroughs are much harder to handle than ordinary software vulnerabilities.

Replacing a widely used cryptographic algorithm may require worldwide hardware and software upgrades. Even if AI labs choose not to publish their results, others may independently discover the same algorithms using AI.

Since Shor's algorithm appeared in 1994, cryptographers have been preparing for the day quantum computers bring an end to RSA.

Nobody expected that what might ultimately consign RSA to history could be an AI-discovered mathematical algorithm rather than an unprecedented computer.

Reference links:

https://x.com/kimmonismus/status/2125602411540566221

https://x.com/AndrewCurran_/status/2125589468786909510

https://x.com/Polymarket/status/2125708240554242058?a=yf8EgdiPLPpIq9VgbR4&s=20

This article is from Machine Heart, by the Machine Heart editorial team.

Related topics

After reading

Join the AINRK community

Read how to join the community and connect with people working in AI.

Community information (opens in a new tab)