Skip to content
Vibe Math Lab.

Explainer

Is factoring in P? The cryptography rumors, and what Google's factoring paper actually shows

No polynomial-time algorithm for factoring integers has been published, as of November 25, 2026. What exists is a rumor, which Scott Aaronson reported on his blog on November 24 while saying he does not know how much to credit it, and a paper Google posted the next morning that claims a proven but still subexponential factoring bound. This page separates the two, then explains what factoring in polynomial time would and would not mean for RSA encryption and for the P vs NP problem.

I'm Tyler Orden, an independent researcher who does mathematics with AI agents. My research record is at Cyborg Mathematics.

Two things happened within a few hours, and they are easy to blur together. On the evening of November 24, Scott Aaronson, a computer scientist at the University of Texas at Austin, wrote in a comment on his blog that he had heard many rumors that one or both of the AI labs are "sitting on Factoring in P", that is, have a polynomial-time factoring algorithm. Early the next morning, Google Research posted a paper, written by its Cogentic agent, with "Integer Factorization" in the title. The paper does not claim what the rumor says.

What is on the record

  • Google's "Unconditional Integer Factorization in Time L_N[1/3, O(1)]" (November 25) claims a proof, with no unproven assumptions, that a randomized algorithm can factor integers in expected time with the same exponent 1/3 as the number field sieve, the fastest method used in practice. Since the early 1990s that exponent has rested on unproven assumptions about how often certain numbers split into small primes; the best proven bound was L_N[1/2, 1], by Hendrik Lenstra and Carl Pomerance in 1992.
  • A second Google paper the same morning claims deterministic factoring, with no random choices, in about exp(3 (ln N)^(3/4)) steps. That is also subexponential.
  • A third claims faster discrete logarithms in finite fields of small characteristic, a setting cryptographers abandoned around 2014. None of the six papers claims an attack on RSA.
  • In an update to his October 7 post on OpenAI's large release of AI-written manuscripts the day before, Aaronson wrote that cryptography was "extremely conspicuous by its absence" from the list, and that his sources told him AI companies had started investigating whether their newest internal models can break important cryptographic protocols.

What is rumor

Aaronson's comment of November 24 is the closest thing to a primary source for the rumor, and he hedged it himself. He wrote that he had heard many rumors that one or both labs are sitting on factoring in P, that he does not know how much to credit them, and that while he is virtually certain the labs have some major result bearing on cryptography, the exact nature of it may have been distorted "via a game of Telephone". He did not name a source, a lab, or a result.

On X, several commentators said they had heard similar rumors over the past week or so, and some speculated that the labs are coordinating what they release, or that governments are involved. None of them offered evidence, and I treat all of it as speculation. I found no lab saying anything about it on the record.

How fast is "fast"? A small example

Multiplying two primes is easy: 3 × 5 = 15 takes a moment, and so does multiplying two 300-digit primes on a computer. Going back, from the product to the primes, is the hard direction. RSA encryption relies on that gap: the public key contains a number N, typically 2,048 bits long (about 617 decimal digits), and anyone who can find its two prime factors can read the messages.

Complexity theorists measure the cost of factoring by the number of digits of N, not by N itself. A polynomial-time algorithm would take a number of steps bounded by a fixed power of the digit count, such as the cube: for 2,048 bits, 2,048^3 is about 8.6 billion, which a computer does in seconds. The number field sieve's running time is written L_N[1/3, c], a growth rate between polynomial and exponential. Plugging 2,048 bits into the formula with the sieve's constant c of about 1.92, and ignoring the lower-order terms the notation hides, gives roughly 2^117 steps, far beyond any computer. The same formula with Google's proven constant c = 105 gives about 2^6,400 steps, more than trial division, which needs at most about 2^1,024. The paper's bound is about what happens as numbers grow without limit; it does not make factoring faster at any size anyone uses.

Would factoring in P break RSA?

In principle, yes: RSA is only as safe as factoring is hard. In practice it would depend on the algorithm. A polynomial-time method with a huge exponent or a huge constant could be what computer scientists call a galactic algorithm, one that is faster only for inputs too large to ever arise. Luca Ambrogioni, a machine learning researcher at Radboud University, replied on X to a post about the rumor with a guess, "Likely with a galactic algorithm", adding that he thought we are safe. That raises a fair question with no settled answer: how often do natural problems turn out to have only galactic fast algorithms? The deterministic primality test of Agrawal, Kayal and Saxena (2002) is a known case of a polynomial-time algorithm that is slower in practice than the randomized tests people actually use. A practical polynomial-time method would be a different story, and RSA would need to be replaced quickly.

Would it prove P = NP?

No. P vs NP asks whether every problem whose answers can be checked quickly can also be solved quickly. Factoring is in NP, because a claimed factorization is easy to check by multiplying, but it is not known to be NP-complete, one of the hardest problems in NP. In fact its decision version lies in both NP and coNP, and most complexity theorists doubt it is NP-complete, since that would make NP and coNP equal. So a fast factoring algorithm would leave P vs NP open. The reverse direction does hold: a proof that factoring is not in P would prove P ≠ NP.

It also works the other way for cryptography. A proof that P = NP might be nonconstructive, giving no explicit algorithm, or might give one whose running time is a polynomial of enormous degree. The case that would worry cryptographers is P = NP with a usable, low-degree algorithm. None of the November 2026 claims touches P vs NP itself; Anthropic's and OpenAI's proofs that VP ≠ VNP, both claimed, concern an algebraic analogue and say so (is VP vs VNP solved?).

Quantum computers already factor in polynomial time, on paper

In 1994 Peter Shor gave a quantum algorithm that factors integers and computes discrete logarithms in polynomial time. It needs a large, error-corrected quantum computer, which does not yet exist at the needed scale, and that threat is why the world is already moving to post-quantum cryptography. A classical polynomial-time factoring algorithm would remove the quantum advantage for factoring. Google's papers leave it in place, and Aran Nayebi of Carnegie Mellon wrote on X on November 25 that, having half expected factoring and discrete logarithms to be in P, he was a bit less impressed that the quantum advantage is retained.

Post-quantum cryptography rests on different problems. The main standard, NIST's ML-KEM (FIPS 203, 2024), is built on the hardness of lattice problems related to learning with errors (LWE). A factoring algorithm, classical or quantum, says nothing directly about those. Elliptic-curve cryptography rests on discrete logarithms on elliptic curves, a separate problem again, and Google's discrete logarithm paper is about a different kind of group.

Update, November 26: how the rumor spread

Between November 25 and 26 the rumor travelled a long way from where it started, and the facts did not change on the way. Its source is still one comment, #23, that Scott Aaronson wrote on his blog on the evening of November 24, in which he said he did not know how much to credit what he had heard. Over the next day it was reposted on X by AI commentators and then by crypto news accounts, some of which wrote that the labs may have "cracked" the math behind modern encryption, and automated story summaries on X repeated that framing alongside claims that are not on the record.

Two people with standing spoke on the record. Charles Guillemet, chief technology officer of the hardware wallet maker Ledger, wrote on X on the morning of November 25 that he was hearing several such rumors, about factoring, elliptic curves and lattice cryptography, and that "I don't think factoring is in P". Later that day Aaronson published a new post saying he is virtually certain, from multiple reliable sources, that the labs hold one or more major results bearing on cryptography, but that until he sees details he feels much less confident about what they are, and that he does not wish to spread unverified rumors.

What stays the same, as of November 26: no paper, code, demonstration or statement from any lab claims factoring in polynomial time, and none has broken an RSA key in public. Google's factoring papers of November 25 claim subexponential bounds, not polynomial ones.

On Bitcoin, which many of the posts mentioned: Bitcoin does not use RSA. Its signatures are ECDSA and, since the Taproot upgrade, Schnorr signatures (BIP 340), both on the elliptic curve secp256k1, so their security rests on the elliptic curve discrete logarithm problem. A fast factoring algorithm on its own would not touch them. A separate rumor, which Guillemet also mentioned, says elliptic-curve cryptography has been broken; I found no paper, code or statement supporting it either.

What would change this page

A paper or code from any lab claiming factoring in polynomial time, which I would report with its exact status; a specialist's report on Google's L_N[1/3] proof; the release of its Lean code; or a correction from Aaronson. I record every claim of this kind in the status tracker.

I use Claude, Anthropic's AI model, for my own research. I do not work for Anthropic.

Short answers

Does factoring in P break Bitcoin?

Not by itself. Bitcoin signatures use ECDSA and Schnorr signatures on the elliptic curve secp256k1, which rest on the elliptic curve discrete logarithm problem, not on factoring. As of November 26, 2026, no paper or code claims to break either.

Is factoring in P?

Not known, as of November 25, 2026. No polynomial-time classical factoring algorithm has been published. Scott Aaronson reported on November 24 that he had heard many rumors that an AI lab has one, and said he does not know how much to credit them.

Did Google prove that factoring is in polynomial time?

No. Google's November 25 paper claims a proven expected running time of L_N[1/3, 105] for a randomized algorithm, with the same exponent 1/3 as the number field sieve; that is subexponential, not polynomial. It is claimed, not yet independently verified.

Does factoring in polynomial time break RSA?

In principle yes, because RSA is only as secure as factoring is hard. In practice it depends on the algorithm: one with a huge exponent or constant might be too slow to use at real key sizes.

Would factoring in P prove P = NP?

No. Factoring is in NP but is not known to be NP-complete; its decision version is in both NP and coNP. A fast factoring algorithm would leave P vs NP open. A proof that factoring is not in P would prove P ≠ NP.

Can quantum computers factor in polynomial time?

In theory, yes: Shor's algorithm of 1994 factors in polynomial time on a large error-corrected quantum computer, which does not yet exist at the needed scale.

Would a factoring breakthrough break post-quantum cryptography?

Not directly. The main post-quantum standards, such as NIST's ML-KEM, rest on lattice problems related to learning with errors, which are different problems from factoring.

What does L_N[1/3] mean?

It is shorthand for running time exp(c (ln N)^(1/3) (ln ln N)^(2/3)): faster than any exponential in the number of digits of N, but slower than any polynomial. The number field sieve has exponent 1/3 under unproven assumptions; Google's paper claims to prove it.

Did this make sense?

Was this helpful?

Share this page