Explained
Can quantum computers break encryption?
Some of it, in principle, and not yet. A large quantum computer running Shor's algorithm would break the public-key locks that protect most of the web today. It would barely dent the locks that use a shared secret key. And no machine that exists now can do either.
What Shor's algorithm breaks
Public-key encryption lets two strangers agree on a secret over an open line. Its security rests on a maths problem that is easy to set and hard to undo. RSA relies on factoring, which means finding the primes that multiply to a large number. Elliptic-curve methods rely on a cousin called the discrete logarithm.
In 1994 Peter Shor showed that a quantum computer could solve both problems in a number of steps that grows slowly with the size of the key. The best known methods on an ordinary computer grow far faster. That gap is what puts RSA and elliptic-curve keys at risk, including their use in digital signatures.
What it does not break
Locks that use one shared secret key, such as AES, face a weaker threat. Grover's search finds a key in roughly the square root of the usual number of tries. That cuts the strength of a 256-bit key to about that of a 128-bit key, which is still far beyond reach. The fix is to use longer keys.
How big a machine would it need?
Far bigger than anything built. Today's chips hold hundreds to a few thousand noisy qubits. Breaking a 2048-bit RSA key needs a machine with error correction, where each protected logical qubit is built from many physical ones. Published estimates have dropped over the years and now sit near a million physical qubits, running for days. Nobody has built a machine near that size.
Nobody can say when one will exist. Planners treat it as a risk to prepare for, not a date on a calendar.
Post-quantum cryptography
The answer is to replace the vulnerable methods with new ones that run on ordinary computers and rest on problems no known quantum method solves quickly. In August 2024 the US National Institute of Standards and Technology published its first three standards, called ML-KEM, ML-DSA and SLH-DSA. Browsers, operating systems and cloud providers have been adding them.
Harvest now, decrypt later
An attacker can record encrypted traffic today and wait. If the data must stay secret for 20 years, such as medical or state records, a machine that arrives in 15 years is already a problem. This is why security agencies urge a move to the new standards before a large quantum computer exists.
What an ordinary person should do
Keep your browser, phone and apps up to date. The switch to new methods happens inside the software, and updates carry it. Nothing you type or store needs to change.
Where to go next
Quantum vs classical computing shows where quantum machines help and where they do not. What is quantum computing? starts from the beginning.
Questions people ask
Can quantum computers break encryption today?
No. Today's machines are too small and too noisy to run Shor's algorithm on keys of real size. A large, error-corrected machine would be needed.
Which encryption would a quantum computer break?
Public-key methods built on factoring or on the discrete logarithm problem, which includes RSA and elliptic-curve cryptography. These protect key exchange and digital signatures.
Is AES safe from quantum computers?
Mostly. Grover's search only gives a square-root speed-up, so AES-256 is reduced to roughly the strength of a 128-bit key, which is still out of reach.
What is post-quantum cryptography?
It is a set of new public-key methods that run on ordinary computers and are designed to resist known quantum attacks. In August 2024 the US standards body NIST published the first three standards.
What is harvest now, decrypt later?
It is the worry that someone records encrypted traffic today and stores it until a quantum computer can open it. It matters most for data that must stay secret for many years.