How Quantum Safe Encryption Works and Why It Matters Now

A glowing quantum computer processor in a laboratory

How Quantum Safe Encryption Works and Why It Matters Now

A glowing quantum computer processor in a laboratory

How quantum safe encryption works and why it matters now is a question that sounds like science fiction, but the answer affects your email, your bank and your medical records. Today’s encryption rests on maths problems that ordinary computers find hard.

A powerful enough quantum computer could solve those problems quickly, and the standards body that guards the world’s cryptography has already chosen the replacements.

The threat is not that a quantum computer will break your encryption tomorrow. It is that attackers can steal your encrypted data today and store it until a quantum computer exists that can read it. That is called harvest now, decrypt later, and it is the reason governments and businesses are already migrating.

Data with a long shelf life is already at risk.

This guide explains quantum safe encryption in plain terms: what today’s encryption does, how a quantum computer threatens it, what the new NIST standards are, and what ordinary users and businesses should actually do now. No maths degree required, and no hype.

Short answer: quantum safe encryption, also called post-quantum cryptography, replaces the public-key algorithms a quantum computer could break with new algorithms based on maths problems that resist both classical and quantum attacks.

NIST finalised the first three standards in August 2024, and the sensible move now is to inventory your systems and plan migration, starting with data that must stay secret for years.

For most people, the practical work is small: keep your software updated, use services that adopt the new standards, and pay attention if your employer or bank announces a migration. For businesses, the work is bigger, and this guide includes a framework for starting it.

Key Takeaways

  • Today’s RSA and elliptic-curve encryption rests on factoring and discrete logarithms, which Shor’s algorithm can solve on a quantum computer.
  • NIST finalised the first post-quantum standards in August 2024: ML-KEM for key exchange, ML-DSA and SLH-DSA for signatures.
  • Harvest now, decrypt later means encrypted data stolen today could be read years from now, so long-lived secrets are already at risk.
  • Symmetric encryption like AES is mostly safe; doubling key sizes is usually enough protection against quantum attacks.
  • Start with an inventory: find where public-key cryptography lives in your systems, then migrate the longest-lived data first.

A laptop screen showing encrypted data and security keys
What Quantum Safe Encryption Actually Is

Quantum safe encryption is a set of encryption and digital-signature algorithms built to withstand attacks from a large quantum computer. It runs on the classical computers you already operate, with no special quantum hardware needed.

That distinction matters: quantum safe encryption is ordinary software, while quantum cryptography, like quantum key distribution, depends on the physics of light and needs dedicated hardware and fibre.

The goal is narrow and specific. Replace the public-key algorithms a quantum computer could break, chiefly RSA and elliptic-curve cryptography, with maths that resists both classical and quantum attacks. Everything else, including symmetric encryption like AES and the hash functions behind file integrity, mostly stays as it is, with longer keys where needed.

Why today’s encryption works, and why it would fail

Today’s public-key encryption relies on two maths problems that are hard to reverse. RSA relies on factoring a very large number back into its prime factors. Elliptic-curve cryptography relies on a related problem called the discrete logarithm.

Multiplying two large primes is easy; working out which two primes were multiplied is enormously hard for a conventional computer, and that difficulty is the whole basis of the security.

A sufficiently capable quantum computer running Shor’s algorithm, published back in 1994, would solve both problems quickly. A quantum bit, or qubit, lets the machine weigh many answers at once, and with enough stable qubits, Shor’s algorithm factors large numbers in a workable amount of time.

The encryption does not get weaker gradually; it falls apart once the machine is powerful enough.

How Shor’s Algorithm Threatens Today’s Encryption

Shor’s algorithm is the heart of the quantum threat, and understanding it in outline is enough. It is a quantum algorithm that finds the prime factors of an integer in polynomial time, which effectively renders RSA and elliptic-curve encryption useless once a quantum computer reaches sufficient scale.

The algorithm has existed on paper since 1994; what has been missing is a machine large and stable enough to run it on real-world key sizes.

That machine does not exist yet, and building one is genuinely hard. Quantum computing remains in its infancy, researchers must overcome major technical hurdles before they can build powerful quantum computers, and it is an open question how formidable they can become.

NIST itself describes the field this way, and the honest position is that nobody knows exactly when a cryptographically relevant quantum computer will arrive.

Grover’s algorithm and symmetric encryption

The second quantum algorithm worth knowing is Grover’s algorithm, which speeds up searching through possible answers. Against symmetric encryption like AES, Grover’s algorithm effectively halves the key strength, which sounds alarming but has a simple fix: double the key size.

AES-256 remains secure against known quantum attacks, which is why symmetric encryption is considered mostly safe.

The practical consequence is that the migration burden falls on public-key cryptography: key exchange and digital signatures. Those are the operations that protect your web browsing, your email, your software updates and your digital signatures. They are everywhere, which is why the migration is a large project even though the fix is conceptually simple.

A modern data centre corridor with server racks
The NIST Standards: ML-KEM, ML-DSA and SLH-DSA

NIST, the US National Institute of Standards and Technology, ran an eight-year public competition to find replacements for vulnerable public-key cryptography, and in August 2024 it published the first three finalised standards.

These are the algorithms the world will migrate to, and NIST’s choices tend to become the global default, so they are worth knowing by name.

ML-KEM is the key-exchange standard, based on the CRYSTALS-Kyber design. It lets two computers agree on a shared secret key over an insecure channel, which is the job RSA and Diffie-Hellman do today.

ML-KEM uses lattice-based maths: it encodes messages as equations and deliberately adds errors, in a way that is easy to decode with the private key and hard without it, even for a quantum computer.

Signatures: ML-DSA, SLH-DSA and what comes next

ML-DSA is the main digital-signature standard, based on CRYSTALS-Dilithium, also lattice-based. SLH-DSA is the second signature standard, based on hash functions rather than lattices, which gives the world a backup built on different maths. If a weakness ever surfaces in lattice-based designs, the hash-based standard is there as a fallback, and that diversity is deliberate.

Harvest Now, Decrypt Later: Why It Matters Now

Harvest now, decrypt later is the threat that makes this urgent even though no cryptographically relevant quantum computer exists yet. An attacker who steals your encrypted data today does not need to read it today. They store it, wait years for the hardware to catch up, and then decrypt it.

Anything that must stay secret for a decade or more is already exposed to this attack.

That changes the timeline completely. The question is not when a quantum computer arrives, but whether your data will still be sensitive when it does. Medical records, state secrets, trade secrets, long-term contracts and personal data that never expires all have shelf lives measured in decades.

If you encrypt that data with RSA today, you are betting that no quantum computer will exist while it still matters.

This is also why governments are moving first. Intelligence agencies, militaries and regulators are setting migration deadlines for their own systems, and those deadlines cascade down to vendors and contractors. If your business sells to government or handles regulated data, a post-quantum migration plan is becoming a procurement requirement, not a nice-to-have.

Classical Versus Quantum Safe Encryption Compared

The table below compares today’s public-key cryptography with the post-quantum replacements, on the points that decide a migration plan. The standards are finalised; the work now is deployment.

AspectClassical public-key cryptographyPost-quantum cryptography
Mathematical foundationFactoring and discrete logarithmsLattices, hash chains, codes, multivariate equations
Threatened by Shor’s algorithmYes, RSA and ECC fall apartNo, designed to resist Shor’s and Grover’s
Key exchange standardRSA, Diffie-HellmanML-KEM, with HQC as a second option
Signature standardsECDSA, RSA signaturesML-DSA and SLH-DSA
Symmetric encryptionAES, mostly unaffectedAES-256 recommended, double key sizes
Deployment statusIn use everywhere todayStandards finalised 2024, adoption under way
Hardware neededNone, ordinary computersNone, ordinary software on current systems

Migration Framework: Start Your Post-Quantum Plan

Work through this framework in order, and start with the systems whose data must stay secret longest. Migration is a multi-year project for most organisations, which is exactly why starting now matters.

  1. Inventory your cryptography: find every place RSA and elliptic-curve cryptography are used, including libraries, certificates and protocols.
  2. Classify your data by shelf life: migrate the longest-lived secrets first, because harvest now, decrypt later already threatens them.
  3. Prioritise external-facing systems: TLS, VPNs, email and software signing, where attackers can harvest traffic today.
  4. Adopt hybrid schemes where available: run classical and post-quantum algorithms together during the transition.
  5. Track vendor roadmaps: browsers, cloud providers and libraries are publishing post-quantum support on different schedules.
  6. Test ML-KEM and ML-DSA in non-production systems first, watching for larger keys and signatures that affect performance.
  7. Set a migration deadline tied to your data’s shelf life, and review it yearly as quantum hardware advances.

Frequently Asked Questions

What is quantum safe encryption in simple terms?

It is encryption designed to stay secure even when powerful quantum computers exist. Today’s RSA and elliptic-curve encryption rely on maths a quantum computer could solve, so new algorithms based on different maths problems replace them. The new algorithms run on ordinary computers; no quantum hardware is needed to use them.

Is my data at risk from quantum computers today?

Not from decryption today, because no quantum computer can yet break real-world RSA keys. But data stolen today could be decrypted later, which is the harvest now, decrypt later threat.

Data that must stay secret for years, like medical records or trade secrets, is the most exposed, and that is why migration is already under way.

What are ML-KEM and ML-DSA?

They are the first NIST post-quantum standards, finalised in August 2024. ML-KEM handles key exchange, letting two computers agree on a secret key, and ML-DSA handles digital signatures. Both are lattice-based. SLH-DSA is a second, hash-based signature standard that provides a backup built on different maths.

Do I need to do anything as an ordinary user?

Very little right now, beyond keeping your software and devices updated. Browsers, operating systems and messaging apps will adopt the new standards behind the scenes, and your job is to install updates promptly. If a service you rely on publishes a post-quantum roadmap, that is a good sign, not a cause for alarm.

Is AES encryption safe against quantum computers?

Mostly, yes. Grover’s algorithm weakens symmetric encryption, but doubling the key size restores the security margin, so AES-256 remains secure against known quantum attacks. The migration burden falls on public-key cryptography, not on AES, which is why you will hear far more about ML-KEM and ML-DSA than about replacing AES.

When will a quantum computer break RSA?

Nobody knows. Building a cryptographically relevant quantum computer requires overcoming major technical hurdles, and estimates vary widely. The honest answer is that the timeline is uncertain, which is precisely why the migration is starting now: the cost of migrating early is far lower than the cost of migrating after a breakthrough.

Conclusion

Quantum safe encryption is not science fiction, and it is not a reason to panic. It is a planned migration, with standards already finalised and adoption already under way.

The threat is real but slow-moving, and the defence is straightforward: inventory your cryptography, migrate the longest-lived data first, and keep your software updated while the industry does the heavy lifting.

If you want to understand the wider security picture, our guide to what blockchain technology is explains another cryptographic building block, our piece on how tech companies use your data covers the data at stake, and our explainer on net neutrality looks at how the internet’s rules keep changing.

on this page