Encryption Observer

Glossary The quantum question

Shor's algorithm

Shor's algorithm is a recipe for a quantum computer that can factor large numbers and solve related problems quickly. Those are exactly the problems that RSA and ECC rely on being hard.

Think of it like this

A master key design that already exists on paper. Nobody has yet built a machine big enough to cut it.

Why it matters

Shor's algorithm is the reason public-key cryptography is being replaced worldwide.

Where you meet it

Only in tiny demonstrations so far. It is the reason behind every post-quantum deadline on this site.

Factoring a 2,048-bit RSA numberOrdinary computersno known way in any practical timeShor's, 2025 estimateunder a week, on under a million qubitsToday's quantum computerscannot run it at this sizeThe same algorithm also breaks elliptic-curve cryptography.
Shor's algorithm turns factoring, the problem behind RSA, from impractical into something a large enough quantum computer could do in days.

More diagrams: Today's algorithms and a large quantum computer

Go deeper history and technical detail

Published by Peter Shor in 1994. It turns factoring into finding the period of a repeating pattern, which a quantum computer does efficiently using the quantum Fourier transform. It does not meaningfully affect symmetric ciphers like AES or hash functions.

Read or watch next

Related terms

Cite this page Encryption Observer, “Shor's algorithm”, encryption.observer/terms/shor/, checked December 2026.