
Polynomial-Time Factoring
Polynomial-time factoring refers to the ability to break a large number down into its prime factors without the computational effort growing to astronomical proportions. This problem is central to the security of modern encryption—and a quantum computer could solve it where classical computers fail.
Every integer can be written as a product of prime numbers. 12 results from 2 × 2 × 3, 35 from 5 × 7. This is prime factorization. For small numbers, this can be done in your head. For a number with 600 digits, a computer today would take longer to compute than the universe has existed. One says: the computational effort grows so quickly with the size of the number that it becomes unsolvable in practice. This exact behavior — effort exploding with input length — is called a problem that lies outside so-called polynomial time. An algorithm runs in polynomial time if its computational effort increases only moderately with the size of the input, not explosively. Polynomial-time factoring therefore means: finding a method that can quickly decompose even enormous numbers.
Why encryption depends on it
The most widely used encryption method on the internet is called RSA. It rests on a simple principle: multiplying two large prime numbers together is easy. Breaking the result back down into its two factors is practically impossible for computers. If someone had a method for polynomial-time factoring, RSA would be broken instantly. Bank connections, encrypted emails, secure logins — all of this relies on the difficulty of this problem.
There is an important difference from other hard problems: no one has yet proven that factoring is fundamentally unsolvable in polynomial time. It could therefore be that someone finds a fast, classical algorithm tomorrow. This proof is still missing to this day. The security of RSA thus rests on an assumption, not a certainty.
Shor’s algorithm: the quantum answer
In 1994, the mathematician Peter Shor showed that a quantum computer — a machine that exploits the laws of quantum physics — can solve factoring in polynomial time. His algorithm cannot be replicated on classical computers; it necessarily requires the special properties of quantum bits. This was a theoretical breakthrough, but not a practical one: at the time, there were no quantum computers large enough to make use of it.
Today, the first quantum computers exist, but they are still too error-prone and too small to apply Shor’s algorithm to numbers relevant to RSA. Researchers estimate that millions of error-free quantum bits would be needed for this; current machines have a few hundred, with considerable error rates. The gap is large — but it is shrinking.
It is therefore a concrete misconception to believe that quantum computers have already broken RSA. This is not the case. But the possibility is real enough that governments and companies worldwide are already working today on successor methods that would withstand a quantum attack as well.
Where the term appears in the news
In financial news, polynomial-time factoring comes up whenever the future of cybersecurity is discussed. Banks and payment service providers must decide when to switch their systems to so-called post-quantum-secure encryption. The US agency NIST — the American standards body for technology — published its first standards for this in 2024.
The term also comes up in reports on quantum computing progress from companies like Google, IBM, or the Chinese state-owned company Baidu. Every time a new quantum processor is presented, experts ask: Is it powerful enough to apply Shor’s algorithm to practically relevant key sizes? So far, the answer has been: not yet. But the question is increasingly being asked in earnest.