Network security

What Is Quantum Encryption? QKD, PQC and the Quantum Threat

Quantum encryption means two different things: keys sent with quantum physics, and new maths that survives quantum computers. Here is how both work and what NIST decided.

Cysoro Security TeamPublished · 6 min read
NETWORK SECURITYQuantumencryptionPhotons, lattices and new maths.Q
Quick answer

Quantum encryption usually means one of two things. Quantum key distribution uses photons to share a secret key, and any eavesdropping disturbs the photons and reveals itself. Post-quantum cryptography uses new maths that should resist both classical and quantum computers, and NIST finalized its first three standards, ML-KEM, ML-DSA and SLH-DSA, in 2024.

Key takeaways

  • A large quantum computer running Shor's algorithm could break RSA and elliptic-curve cryptography.
  • Post-quantum cryptography runs on ordinary computers; quantum key distribution needs special photon hardware.
  • NIST finalized ML-KEM, ML-DSA and SLH-DSA in 2024, and plans to deprecate RSA and ECC after 2030.

Today's encryption rests on a bet: that factoring huge numbers is too hard for any computer. A large quantum computer would win that bet. Quantum encryption is the umbrella term for the two very different answers now being built.

What is quantum encryption?

Quantum encryption is encryption designed to survive quantum computers. It covers two approaches: quantum key distribution, which shares keys using photons, and post-quantum cryptography, which uses new maths on ordinary computers.

The confusion is understandable because both carry the word quantum, but they solve different problems. One changes the physics of key exchange. The other changes the maths, and it runs as software.

For almost everyone, post-quantum cryptography is the answer that matters. It is already standardized, it works over the existing internet, and browsers and servers are adopting it. Quantum key distribution is a specialist tool for a few high-security links.

Why does quantum computing threaten encryption?

Most internet security starts with public-key cryptography. RSA relies on the difficulty of factoring large numbers, and elliptic-curve cryptography relies on the difficulty of discrete logarithms. Classical computers cannot solve either problem fast enough.

A quantum computer running Shor's algorithm, published in 1994, could solve both efficiently. NIST explains that a sufficiently powerful quantum computer could sift through potential prime factors simultaneously, arriving at the answer far faster than a classical machine.

No machine today is close to that power. The threat is still real because of timing: encrypted data recorded now could be decrypted later, a strategy called harvest now, decrypt later.

Harvest now, decrypt laterTodayAttacker recordsencrypted trafficYears passData sits in storage,still encryptedQuantum arrivesShor's algorithmbreaks RSA and ECCData that must stay secret for decades is already exposed.That is why migration starts before any quantum computer exists.
Harvest now, decrypt later: the risk starts at recording time, not at decryption time. Illustration by Cysoro.

Symmetric encryption such as AES is less affected. Grover's algorithm could in theory halve its effective strength, so moving from AES-128 to AES-256 largely answers that concern. The urgent problem is public-key cryptography.

How does quantum key distribution work?

Quantum key distribution, or QKD, lets two parties agree on a secret key by sending single photons. Measuring a photon disturbs it, so eavesdropping leaves a detectable trace.

The best-known protocol is BB84, proposed by Charles Bennett and Gilles Brassard in 1984. Alice sends photons in random polarization bases, Bob measures in random bases, and they publicly compare only which bases they used, not the results.

They keep only the bits where their bases matched, forming a sifted key. They then check a sample for errors. A high error rate means someone may have intercepted the photons, so they discard the key and start again.

QKD distributes a key; it does not carry the message itself. The agreed key then encrypts data with a fast symmetric cipher such as AES. It also needs an authenticated classical channel, because an attacker who can rewrite that channel could impersonate one side.

What is post-quantum cryptography?

Post-quantum cryptography, or PQC, is a family of classical algorithms designed to resist attacks from both classical and quantum computers. It runs on ordinary hardware, with no photons involved.

NIST led a global competition that began in 2016, with 82 algorithms submitted from 25 countries. In August 2024 it released its first three finalized standards, and in March 2025 it selected HQC as a fifth algorithm for backup key exchange.

StandardAlgorithmJobHard problem
FIPS 203ML-KEM (Kyber)Agree on a secret keyModule lattices
FIPS 204ML-DSA (Dilithium)Digital signaturesModule lattices
FIPS 205SLH-DSA (SPHINCS+)Backup signaturesHash functions
Selected 2025HQCBackup key exchangeError-correcting codes

ML-KEM is a key-encapsulation mechanism: it lets two parties agree on a shared secret, which AES then uses to encrypt the data. ML-DSA and SLH-DSA prove who signed a message or certificate. Check your own site's TLS setup with the free SSL checker.

QKD vs post-quantum cryptography: what is the difference?

QKD offers security based on physics, while PQC offers security based on maths believed hard for quantum computers. That difference decides where each one fits.

Quantum key distributionPost-quantum cryptography
How it worksPhotons over fibre or free spaceMaths on ordinary computers
Security basisLaws of quantum physicsHard lattice, hash or code problems
RangeTens to hundreds of kilometres per linkAnywhere the internet reaches
HardwareSpecial photon senders and detectorsSoftware update
Best forA few high-security linksAlmost everything else

QKD links are short because photons are lost in fibre, so long routes need trusted relay nodes. PQC has no such limit, which is why NIST, vendors and governments treat it as the main migration path.

Some organizations use both: PQC for general traffic and QKD for a specific link where information-theoretic security is worth the cost and complexity. Palo Alto Networks notes that PQC uses lattice, hash and code-based maths that remain hard for Shor's and Grover's algorithms.

How does post-quantum cryptography work?

ML-KEM is built on lattices, grids of points in many dimensions, and a problem called Module Learning With Errors. Each equation adds a small random error, so solving for the secret from the public equations is believed to be hard.

In simple terms, Alice publishes noisy equations built from her secret. Bob uses them to hide a shared secret in a message only Alice can open. A quantum computer has no known shortcut for this noisy lattice problem.

SLH-DSA takes a different route: its security rests only on hash functions, which are well understood. That makes it a useful backup if a lattice algorithm ever falls, even though its signatures are larger and slower.

Who needs quantum encryption, and when?

Governments, banks, hospitals and anyone holding data that must stay secret for decades should already be planning. Home users do not need to buy anything, but they should keep devices and browsers updated.

NIST's transition guidance deprecates quantum-vulnerable public-key algorithms after 2030 and disallows them under NIST standards after 2035. Vendors are already shipping hybrid modes that combine a classical algorithm with a post-quantum one, so a failure in either still leaves protection.

Start with an inventory: where does your organization use RSA or elliptic-curve cryptography, in TLS, VPNs, code signing, email and backups? Long-lived data and long-lived certificates go first.

What are common mistakes about quantum encryption?

The biggest mistake is treating quantum encryption as a product you can buy today for a home network. There is no consumer quantum router, and a vendor promising unbreakable quantum security for a laptop is selling a slogan.

  • Confusing QKD with PQC. They are different tools with different costs and limits.
  • Waiting for a quantum computer to appear. Harvest now, decrypt later means the clock started when data was recorded.
  • Assuming AES is broken too. AES-256 remains a sound choice; the urgent migration is public-key cryptography.
  • Ignoring certificates and signatures. TLS keys get attention, but code signing and document signatures also need post-quantum replacements.
  • Forgetting the classical channel. QKD still needs authentication, and PQC still needs correct implementation and key management.
A practical migration checklist1. Inventory cryptography2. Rank long-lived data first3. Test hybrid PQC modes4. Plan for 2030 deprecationHybrid modes combine classical and post-quantum algorithms during the transition.Keep an eye on vendor support for ML-KEM and ML-DSA in TLS, VPNs and certificates.
Four steps to start a post-quantum migration. Illustration by Cysoro.

For a wider starting point, our small business cybersecurity checklist covers the basics that still matter most: updates, backups, MFA and strong passwords.

The bottom line

Quantum encryption is not one technology. QKD shares keys with photons and detects eavesdropping through physics. Post-quantum cryptography replaces vulnerable maths with new algorithms that run on ordinary computers.

For most readers, the practical step is simple: follow NIST's standards, adopt hybrid post-quantum modes as vendors ship them, and protect long-lived data first. You can check how your own site's encryption holds up today with the SSL checker.

Frequently asked questions

What is quantum encryption in simple terms?

Quantum encryption is encryption designed for the quantum age. It covers quantum key distribution, which shares keys using photons, and post-quantum cryptography, which uses maths believed hard for quantum computers. Most people will use the second kind, because it runs as software on normal computers.

Is quantum encryption unbreakable?

No encryption is proven unbreakable in every sense. Quantum key distribution offers security based on physics, so intercepting photons disturbs them, but real hardware has flaws. Post-quantum algorithms are believed secure, not proven secure, and could fall to a future discovery.

Can quantum computers break current encryption?

Not yet. No quantum computer today is powerful enough to break RSA-2048 or standard elliptic-curve keys. A sufficiently large fault-tolerant machine running Shor's algorithm could do it, which is why standards bodies are migrating now, before such a machine exists.

What is the difference between QKD and post-quantum cryptography?

Quantum key distribution sends keys as photons over fibre or free space and detects eavesdropping through physics. Post-quantum cryptography is software maths that runs over the ordinary internet. QKD needs special hardware and short links, while post-quantum cryptography works almost anywhere.

What did NIST standardize for post-quantum cryptography?

In August 2024 NIST released its first three finalized standards: FIPS 203 for ML-KEM key exchange, FIPS 204 for ML-DSA signatures, and FIPS 205 for SLH-DSA signatures. In March 2025 it selected HQC as a fifth algorithm, a backup key-exchange method based on error-correcting codes.

Do I need quantum encryption at home?

No, not directly. Home users do not need to buy quantum hardware. Your job is to keep software updated, use strong passwords and passkeys, and let browsers, apps and services adopt post-quantum algorithms as they roll out. The migration happens mostly in servers, VPNs and browsers.

What is harvest now, decrypt later?

Harvest now, decrypt later means an attacker records encrypted traffic today and stores it, hoping to decrypt it years later when a powerful quantum computer exists. Data that must stay secret for decades, such as medical records or state secrets, is already at risk even though no such computer exists yet.

When should businesses start migrating to post-quantum cryptography?

Now, by inventorying where cryptography is used and which data has a long secrecy lifetime. NIST guidance and vendor roadmaps point to phased migration through the late 2020s, with quantum-vulnerable public-key algorithms deprecated after 2030 and disallowed under NIST standards after 2035.

Sources

  1. NIST — What Is Post-Quantum Cryptography?
  2. NIST — Frequently Asked Questions about Post-Quantum Cryptography
  3. Palo Alto Networks — What Is Post-Quantum Cryptography (PQC)?
  4. Immersive Labs — Post-Quantum Cryptography: NIST Standards Explained
  5. Learn How To Science — Quantum Cryptography Explained
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against NIST post-quantum cryptography pages, NIST migration FAQs, Palo Alto Networks and Immersive Labs explainers, and a quantum cryptography primer.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free