Cryptography

Quantum-Resistant Encryption Explained: What Changes

12 min read
By
Quantum-Resistant Encryption Explained: What Changes

NovelCrypt

Somewhere in a standards body's roadmap, there is a deadline with no date on it. When someone builds a quantum computer with enough stable qubits, the mathematics protecting nearly every secure connection on the internet — RSA, Diffie-Hellman, elliptic curves — fails. Not becomes harder: fails, in polynomial time, via an algorithm published in 1994.

Nothing needs to be broken today. That is precisely what makes the situation strange and the migration urgent: the threat exists ahead of the machine, because encrypted traffic recorded now can be stored until the machine exists. Quantum-resistant encryption — post-quantum cryptography — is the collective answer, and it is not a proposal anymore: NIST finalized the standards in 2024, and browsers, CDNs, and messengers have been deploying them since. Here is what breaks, what survives, and what the migration actually looks like.

What Shor's Algorithm Actually Breaks

Precision matters here, because "quantum computers will break encryption" is too vague to act on — and mostly wrong.

Shor's algorithm (1994) solves two problems efficiently on a quantum computer: integer factoring and discrete logarithms. Those are not arbitrary targets — they are the load-bearing walls. RSA rests on factoring. Classic Diffie-Hellman and elliptic curve cryptography rest on discrete logarithms. Every TLS handshake, every code signature, every certificate, every key exchange in current public-key cryptography depends on one of those two problems. A large fault-tolerant quantum computer running Shor breaks them all.

Symmetric cryptography is a different story. Grover's algorithm gives a quadratic speedup for brute-force search — meaning a 256-bit key offers roughly 128-bit security against a quantum attacker. That is a real reduction but not a break: doubling key sizes compensates. AES-256 remains the standard; ChaCha20 likewise. Hash functions survive similarly — collision resistance weakens, and the response is longer output sizes. The quantum apocalypse is specifically a public-key apocalypse.

Why the Migration Started Before the Computer Exists

The threat that drives action is not "quantum computers will decrypt traffic in the future." It is "traffic recorded today can be decrypted when the computer arrives."

This is harvest now, decrypt later: a passive adversary records encrypted traffic — state communications, health data, intellectual property, anything with a long secrecy horizon — and waits. When a cryptographically relevant quantum computer exists, the recorded ciphertext decrypts retroactively, because the key exchange that protected it used broken math. Forward secrecy does not help here — it protects against key theft, not against the underlying math being solved.

The defense follows directly: data needing secrecy for more than the expected time-to-quantum must be protected by quantum-resistant key exchange now. For governments and critical infrastructure, that horizon is decades — so migration is not premature caution but calendar math. For personal data with short sensitivity windows, the timeline is comfortable. The urgency is proportional to the data's shelf life.

The Standards: What NIST Chose

NIST's post-quantum cryptography project ran a public competition from 2016 to 2024 — dozens of candidate algorithms, attacked, broken, and refined in the open. The finalized standards:

ML-KEM (FIPS 203), from CRYSTALS-Kyber: a lattice-based key encapsulation mechanism, replacing Diffie-Hellman's role in key exchange. ML-DSA (FIPS 204), from CRYSTALS-Dilithium: lattice-based digital signatures, replacing RSA and ECDSA in certificates and code signing. SLH-DSA (FIPS 205), from SPHINCS+: hash-based signatures — slower and larger, but resting only on hash function security, providing diversity against a possible lattice breakthrough.

The philosophy behind running three standards is visible in the competition itself: several once-promising candidates were broken during evaluation, some by classical attacks. Cryptographic diversity is a hedge, not a formality. Our guide to lattice-based cryptography covers the mathematics behind the two lattice standards in detail.

Hybrid Deployment: The Real-World Migration Pattern

Nobody is switching from elliptic curves to lattices outright. The deployed pattern is hybrid key exchange: the handshake runs both a classical exchange (X25519) and a lattice one (Kyber) and combines the results into one shared secret. If either remains secure, the key is secure.

The logic is about trust asymmetry. Classical elliptic curves have decades of vetting but a known quantum expiry. Lattice schemes are believed quantum-resistant but are younger. Hybrid exchange inherits the strengths of both during the transition — protection against today's classical attacks plus protection against harvest-and-decrypt — at the cost of larger handshakes (Kyber's public keys are around a kilobyte, versus 32 bytes for X25519; the overhead is measured in milliseconds and is already deployed at scale).

Deployment status is further along than most people assume: Chrome, Cloudflare, and Firefox enabled Kyber hybrids broadly in 2024; Signal's PQXDH adds Kyber to its handshake; Apple and Meta have announced or shipped equivalents. A meaningful fraction of web traffic is already post-quantum protected at the key-exchange layer. Signatures lag — certificate chains and code signing are harder to migrate — and that is the recognized gap in the roadmap.

What Individuals and Organizations Should Actually Do

For individuals, the honest answer is: almost nothing, today. Your browser and messengers upgrade underneath you. Your passwords remain safe — symmetric and hash-based protection of password storage is not meaningfully threatened. The quantum-relevant personal action is the same as always: long unique passwords, managers, two-factor authentication.

For organizations, there is a concrete sequence. Inventory where and how public-key cryptography is used — TLS termination, VPNs, code signing, internal PKI, long-lived encrypted archives. Identify data with long secrecy horizons, since that defines the priority. Ensure vendor roadmaps include post-quantum support — this is now a procurement question, not a research question. Enable hybrid key exchange where infrastructure supports it, and plan signature migration, which is the long pole. Standards bodies (CNSA 2.0 for US government systems, BSI and ANSSI guidance in Europe) publish timelines; the common instruction is that migration is a multi-year infrastructure project, and the projects that fail are the ones that start late.

What Does Not Change

Amid the migration, it is worth being clear about what quantum computing does not touch. Symmetric encryption with adequate key sizes — AES-256, ChaCha20 — remains secure. Hash functions remain secure with parameter adjustments. HMAC, message authentication, key derivation functions protecting passwords, bcrypt and Argon2 — all built on symmetric primitives, all structurally unaffected. The post-quantum transition is a replacement of public-key infrastructure, not of cryptography as a whole. That is why it is feasible at all: the bulk data protection everyone relies on already survives quantum attack.

The Bottom Line

Quantum computers running Shor's algorithm will break RSA, Diffie-Hellman, and elliptic curves — the public-key foundations of current internet security — while symmetric encryption and hashes survive with parameter adjustments. The standards replacing the broken systems are final (ML-KEM, ML-DSA, SLH-DSA), and deployment is already underway in hybrid form because recorded traffic can be decrypted retroactively once the machines exist. The date of that machine is unknown; the migration timeline it demands is not. Post-quantum cryptography is the rare security upgrade the industry is doing ahead of the emergency — because for the data with the longest secrets, ahead of the emergency is the only position that works.

Frequently Asked Questions

Which encryption is actually broken by quantum computers?

Public-key systems built on factoring and discrete logarithms — RSA, Diffie-Hellman, elliptic curve cryptography — fall to Shor's algorithm on a large enough quantum computer. Symmetric encryption is far less affected: Grover's algorithm gives only a quadratic speedup, so AES-256 remains secure (effectively reduced to AES-128 strength). Hash functions similarly survive with reduced margins. The practical impact is concentrated almost entirely on key exchange and signatures.

Do I need to change my passwords or apps today?

No. Nothing you personally use is broken today, because no cryptographically relevant quantum computer exists. The urgency belongs to systems and data owners: anything encrypted now and recorded can be decrypted later ("harvest now, decrypt later"), so data needing decades of secrecy — government, health, infrastructure, corporate IP — is being migrated first. Consumer products are upgrading underneath you automatically, and your passwords stay safe as long as sites complete their migrations.

What are the NIST post-quantum standards?

Finalized in 2024: ML-KEM (FIPS 203, from CRYSTALS-Kyber) for key establishment, ML-DSA (FIPS 204, from CRYSTALS-Dilithium) for signatures, and SLH-DSA (FIPS 205, from SPHINCS+) as a backup hash-based signature scheme. The first two are lattice-based; the hash-based third rests on different assumptions for diversity. Each was selected after an eight-year public competition with hundreds of submissions and attacks.

What is "Q-day" and when will it happen?

Q-day is the informal term for the day a quantum computer can break current public-key cryptography. Nobody knows the date — estimates range across decades, and some experts believe it may never arrive due to engineering barriers. The uncertainty is the reason migration is urgent anyway: cryptographic migration historically takes 10-20 years, and data recorded today remains sensitive then. You do not need to predict Q-day; you need migration to finish before it, whatever its date.

Try NovelCrypt Tools

Experience military-grade encryption for your sensitive data. Create self-destructing messages, encrypt files, or explore our experimental lab tools.

Explore NovelCrypt