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.
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.
In plain words
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.
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
- Thirty Years Later, a Speed Boost for Quantum FactoringQuanta Magazine (2023), article
- Shor, I'll do itScott Aaronson (2007), blog post
- Quantum Computing for EveryoneChris Bernhardt (2019), book
- Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum ComputerPeter Shor (1994, revised 1996), paper
- What is post-quantum cryptography (PQC)?Cloudflare Learning Center, guide
- Selected Areas in Cryptology (Spring 2022, Part I)Tanja Lange, Eindhoven University of Technology, lecture series
Related terms
Cite this page Encryption Observer, “Shor's algorithm”, encryption.observer/terms/shor/, checked December 2026.