Why Quantum Computers Could Break Today’s Cybersecurity

Quantum Computers_ The Biggest Threat to Digital Security
Quantum Computers and the Future of Cybersecurity

A visual explainer · about a 20 minute read

Quantum Computers and the Future of Cybersecurity

What if the machines we build to solve the world’s hardest problems could also break some of today’s strongest security systems? That is the central tension of quantum computing. It promises breakthroughs in medicine and materials, and it also threatens the mathematics that protects websites, banking and digital payments.

The short version. Quantum computers are not simply faster computers. They solve certain problems in a fundamentally different way. One of those problems, factoring large numbers, underpins RSA and ECC encryption. Large, stable quantum machines do not exist yet, but data stolen today can be decrypted later, so the world is already moving to post-quantum cryptography.

1. Bits and qubits

A classical computer stores information as bits. Each bit is either 0 or 1, like a switch that is off or on. Everything on your phone, from photos to bank apps, is a long sequence of these switches, and a processor flips them according to instructions.

A quantum computer uses qubits. A qubit can be built from a single atom, an ion, a tiny superconducting circuit or a particle of light. Until it is measured, a qubit is described by a mix of 0 and 1 called a superposition. Measuring it forces a single answer, 0 or 1, with probabilities set by that mix.

Classical bit 0 1 Exactly one state at a time Qubit |0⟩ |1⟩ A blend of 0 and 1 until measured
Figure 1. A bit sits at one of two positions. A qubit’s state can point anywhere on a sphere, and measurement collapses it to 0 or 1.

Three ideas that matter

  • Superposition: a qubit holds a weighted blend of 0 and 1, described by numbers called amplitudes.
  • Entanglement: qubits can be linked so that the state of the group cannot be described one qubit at a time.
  • Interference: amplitudes can add or cancel. Quantum algorithms are designed so wrong answers cancel and right answers reinforce.
A common myth. A quantum computer does not try every answer at once and then pick the best. Without clever interference, you would just get a random result. The skill lies in algorithms that steer probability toward the correct answer.

2. Why only some problems get easier

Quantum computers are not better at everything. Email, video, web browsing and spreadsheets gain nothing. They help on a narrow set of problems with hidden mathematical structure, such as simulating molecules, certain optimization tasks, and, critically for security, factoring and discrete logarithms.

Classical vs quantum
FeatureClassical computerQuantum computer
Basic unitBit (0 or 1)Qubit (blend of 0 and 1)
ReliabilityExtremely stableFragile, error prone
Best atGeneral tasksSpecific structured problems
Operating conditionsRoom temperatureOften near absolute zero or in vacuum
ScalingBillions of transistorsHundreds to thousands of noisy qubits today
Threat to RSA/ECCNone known at scaleYes, via Shor’s algorithm

3. How today’s encryption works

Most online security combines two kinds of cryptography. Symmetric encryption uses one shared secret key to scramble data quickly, as AES does. Public-key (asymmetric) cryptography solves a different problem: how two strangers agree on a secret over an open network, and how a website proves its identity.

Public-key systems rely on mathematical problems that are easy in one direction and extremely hard to reverse.

SystemHard problem behind itUsed for
RSAFactoring a huge number into two primesCertificates, signatures, key exchange
Diffie-HellmanDiscrete logarithmKey agreement
ECC (ECDH, ECDSA)Elliptic-curve discrete logarithmMobile apps, TLS, cryptocurrencies
AESSearching an enormous key spaceBulk data encryption

An everyday example

Multiplying two 1,000-digit primes takes a laptop a blink. Starting from the product and recovering the primes is, for classical machines, beyond practical reach. A public key is the product. The private key depends on knowing the primes. That one-way street is what keeps a padlock icon in your browser meaningful.

Two big primes p and q (secret) Product n = p × q public Easy: milliseconds Hard: longer than the age of the universe (for classical computers, at real-world key sizes)
Figure 2. Public-key security relies on a one-way mathematical street.

4. Shor’s algorithm: the threat

In 1994 mathematician Peter Shor showed that a quantum computer could factor large numbers in a time that grows only polynomially with the size of the number, instead of the sub-exponential time of the best classical methods. The same method also solves discrete logarithms, which covers Diffie-Hellman and elliptic-curve systems.

How it works, without the heavy math

Factoring is turned into a pattern-finding problem. Pick a number a and look at the repeating cycle of ax mod n. The length of that cycle, called the period, leaks the factors of n through simple arithmetic. Finding periods is difficult classically but natural for a quantum computer, which uses a tool called the quantum Fourier transform to make the period stand out through interference.

1. Classical: choose number a target n is the number to factor 2. Quantum: find the period r superposition → modular exponentiation → quantum Fourier transform → measure needs thousands of error-corrected qubits 3. Classical: compute factors using gcd(a^(r/2) ± 1, n) Private key recovered
Figure 3. Shor’s algorithm is a hybrid. Only the middle step needs a quantum computer.

What it breaks and what it does not

TechnologyQuantum effectStatus
RSABroken by Shor’s algorithmVulnerable
ECC / ECDSA / ECDHBroken by Shor’s algorithmVulnerable
Diffie-HellmanBroken by Shor’s algorithmVulnerable
AES-128Grover’s algorithm gives a square-root speedup; effective strength about 64 bits against ideal attacksWeakened, use larger keys
AES-256Remains very strong after GroverConsidered safe
SHA-256 / SHA-3Grover reduces collision and preimage marginsGenerally safe

Grover’s algorithm is the other famous quantum algorithm. It speeds up unstructured search, but only quadratically. The practical response is simple: use 256-bit symmetric keys. Public-key cryptography faces the much bigger problem.

5. How far away is the threat?

Breaking RSA-2048 is not about having a few thousand physical qubits. Today’s physical qubits make mistakes constantly. To run Shor’s algorithm for hours without failure, machines need quantum error correction, which bundles many noisy physical qubits into one reliable logical qubit. Published resource estimates for breaking RSA-2048 have fallen over the years, and recent work suggests under a million noisy physical qubits running for days could be enough. Current devices are far below that, though progress in error correction is steady.

110010,0001 million100 million ~1,000+ Largest physical devices today ~100s Logical qubits in early demos (few) ~1 million Physical qubits estimated for RSA-2048
Figure 4. Illustrative, order-of-magnitude comparison on a logarithmic scale. Real figures vary by hardware type, error rate and algorithm design.

Why the gap is hard to close

  • Noise: qubits lose their state from heat, vibration and stray radiation.
  • Overhead: one logical qubit may need hundreds or thousands of physical qubits.
  • Engineering: cooling, control wiring and fast classical decoding all scale poorly.
  • Uncertainty: breakthroughs can arrive suddenly, so experts plan using ranges, not single dates.

6. “Harvest now, decrypt later”

You might think a distant threat can wait. It cannot, for one reason. An attacker can record encrypted traffic today and store it. When a capable quantum computer arrives, the stored data can be opened. Anything that must stay secret for 10, 20 or 30 years, such as health records, state secrets, industrial designs and legal archives, is already at risk.

TodayYears passQuantum era Attacker recordsencrypted traffic Data sits in storage;still secret to defenders Stored data is decryptedwith Shor’s algorithm Sensitive data needs protection from the start
Figure 5. The risk begins when data is captured, not when the quantum computer appears.
Mosca’s rule of thumb. If the years your data must stay secret, plus the years you need to migrate, exceed the years until a capable quantum computer exists, you are already late.

7. Post-quantum cryptography

Post-quantum cryptography (PQC) uses new mathematical problems that are believed to be hard for both classical and quantum computers. Crucially, PQC runs on ordinary hardware. It is a software and standards upgrade, not a quantum device. In 2024 the US standards body NIST published its first finalized PQC standards, and further algorithms continue to be selected.

FamilyHard problemExamplesTrade-off
Lattice-basedFinding short vectors in high-dimensional gridsML-KEM (Kyber), ML-DSA (Dilithium)Fast; larger keys than ECC
Hash-basedSecurity of hash functionsSLH-DSA (SPHINCS+), XMSSConservative; big signatures
Code-basedDecoding random error-correcting codesClassic McEliece, HQCVery large public keys
MultivariateSolving systems of polynomial equationsRainbow-type schemesSome designs have been broken
Isogeny-basedMaps between elliptic curvesSIKE (broken in 2022)Shows why long public scrutiny matters

A picture of a lattice problem

target closest point In 2 dimensions this is trivial; in hundreds of dimensions with a “bad” grid, no efficient method is known.
Figure 6. Lattice cryptography hides a secret inside the “closest point” problem.

The practical impact: bigger keys and signatures

PurposeClassical choiceApprox. sizePQC choiceApprox. size
Key exchange public keyX2551932 bytesML-KEM-7681,184 bytes
SignatureECDSA P-25664 bytesML-DSA-44~2,420 bytes
Signature (conservative)RSA-2048256 bytesSLH-DSA-128s~7,856 bytes

These sizes are a headache for small devices, certificate chains and network protocols designed around tiny keys. That is why migration is an engineering project and not a simple switch.

8. Quantum key distribution is a different thing

Quantum key distribution (QKD) uses the physics of photons to share keys, and any eavesdropping disturbs the signal. It is real and being trialed, but it needs special hardware and dedicated links, and it does not authenticate identities by itself. Most agencies favor PQC for broad deployment and see QKD as a niche addition.

Post-quantum cryptographyQuantum key distribution
NatureMath algorithms in softwarePhysics-based photon exchange
HardwareExisting computers and phonesSpecial optics and fiber or satellite links
RangeGlobal, over the normal internetLimited distance without relays
DeployabilityHighLow to moderate

9. How organizations should prepare

1. Inventory Find every place RSA, ECC and DH are used: apps, devices, vendors, certificates 2. Prioritize Rank systems by how long data must stay secret and how hard they are to change 3. Build agility Make algorithms swappable; test hybrid modes that combine classical and PQC 4. Migrate Roll out standardized PQC, start with key exchange, then signatures and PKI
Figure 7. A practical four-stage path. Stages overlap and repeat.

Crypto-agility

The deepest lesson is not “switch to algorithm X.” It is to design systems so that algorithms can be replaced without rebuilding everything. History shows that cryptographic algorithms age, and some candidates fail unexpectedly. Hybrid approaches, which combine a classical and a post-quantum method so an attacker must break both, offer a safety net during the transition.

What individuals can do

  • Keep browsers, phones and operating systems updated, since PQC support arrives through updates.
  • Prefer services that announce post-quantum protections for connections.
  • Use strong, unique passwords with a password manager. Quantum computers do not change this basic advice.
  • Do not panic. Your accounts are not about to be opened by a quantum machine tomorrow.

10. Timeline at a glance

YearMilestone
1981–82Feynman and others propose quantum simulation
1994Shor publishes his factoring algorithm
1996Grover publishes quantum search
2016NIST opens its post-quantum standardization process
2022Isogeny scheme SIKE broken by a classical attack
2024First NIST PQC standards finalized
2025 onwardMajor browsers, cloud providers and messaging apps roll out hybrid PQC; governments publish migration deadlines in the 2030s

11. Quantum also helps defenders

The same field offers positive tools. Quantum random number generators produce truly unpredictable randomness. Quantum sensors may detect tampering and improve navigation. Quantum-enhanced machine learning might one day assist threat detection. These are modest compared with the Shor threat, but they show that quantum technology is not purely an attacker’s tool.

12. Common questions

Can quantum computers break Bitcoin?

In principle, a large enough machine could forge ECDSA signatures and steal funds from exposed public keys. The networks would need to upgrade their signature schemes, and research on how to do so is active.

Is my password safe?

Passwords are usually protected by hashing and symmetric methods, which are much less affected. The channel that carries them is the part needing PQC.

Will quantum computers replace laptops?

No. They will be specialized accelerators, accessed mostly through the cloud, working alongside classical computers.

Is the threat overhyped?

The timing is uncertain, and honest experts disagree on it. But the preparation cost is manageable if started early and very high if started late, which is why governments and industry treat it as a planning priority.

Conclusion

Quantum computing is not just about faster computers. It forces a rethink of how digital trust is built. The machines that could unlock new medicines and materials could also undo the public-key systems that secure the internet. We do not have such machines yet, and we do have solutions in progress. The task now is steady, boring and important work: find where vulnerable cryptography lives, build the ability to swap it, and move to post-quantum standards before the clock runs out.