Notes
What breaks
Two quantum algorithms matter. Shor's algorithm solves the mathematical problems behind RSA, Diffie-Hellman and elliptic curves efficiently. On a large enough quantum computer it would break all of them, including the modern curves. Grover's algorithm speeds up brute-force search, but only by a square root, so AES with a two hundred and fifty six bit key still has ample strength, and SHA two fifty six is fine. The conclusion: replace asymmetric cryptography, keep symmetric.
- Shor: solves factoring and discrete logarithms fast breaks RSA, Diffie-Hellman, ECDSA, X25519, Ed25519
- Grover: speeds up brute force, but only by a square root AES-256 keeps ~128-bit strength; SHA-256 is fine
- so: replace asymmetric, keep symmetric
How close is it
How close is it? Honestly: nobody knows. Breaking a two thousand and forty eight bit RSA key needs a large, error-corrected quantum computer, and today's machines are far too small and too noisy. Estimates range from the twenty thirties to much later. What is known is that replacing cryptography across an organisation takes ten years or more; the move away from SHA one took longer. So the planning begins before the threat is certain.
- breaking RSA-2048 needs a large, error-corrected quantum computer
- today's machines are far too small and too noisy
- estimates of "when" range from the 2030s to much later; nobody knows
- migrations take 10+ years
- so the planning starts now
Harvest now, decrypt
Here is why it matters today. An attacker can record encrypted traffic now and store it. Years later, with a quantum computer, they break the recorded key exchange and read everything. This is called harvest now, decrypt later. It matters for any data that must stay secret for ten years or more: health records, government and legal material, long-lived secrets. And it tells you the priority: fix key exchange first, because that traffic is being recorded already.
- an attacker records encrypted traffic now and stores it
- when a quantum computer exists, the key exchange is broken and the data read
- matters for data that must stay secret 10+ years: health, state, legal, long-lived credentials
- so fix key exchange first
The new standards
The replacements are standardised. In August twenty twenty four, NIST published three. ML-KEM, formerly called Kyber, is a key encapsulation mechanism: it replaces Diffie-Hellman and RSA for establishing shared keys. ML-DSA, formerly Dilithium, is for digital signatures. SLH-DSA, formerly SPHINCS plus, is a signature scheme built only on hash functions, as a conservative alternative. More are on the way. These run on ordinary computers; no quantum hardware is involved.
- FIPS 203: ML-KEM (Kyber) key establishment; replaces Diffie-Hellman and RSA key exchange
- FIPS 204: ML-DSA (Dilithium) signatures
- FIPS 205: SLH-DSA (SPHINCS+) hash-based signatures
- more are on the way: FN-DSA, and HQC as a backup KEM
The cost: size
The new algorithms are fast, often as fast as elliptic curves. The cost is size. An X two five five one nine public value is thirty two bytes; an ML-KEM seven sixty eight public key is one thousand one hundred and eighty four. An E D two five five one nine signature is sixty four bytes; an ML-DSA sixty five signature is three thousand three hundred and nine. That affects handshake sizes, certificates, tokens, and small devices, and it is why signatures are migrating more slowly.
key exchange public ciphertext X25519 32 32 ML-KEM-768 1184 1088 signatures public signature Ed25519 32 64 ML-DSA-65 1952 3309 # speed is similar or better; # the bytes on the wire are not
Hybrid key exchange
The deployment approach is hybrid. A TLS handshake performs both a classical X two five five one nine exchange and an ML-KEM exchange, and combines the two secrets. An attacker must break both. That protects you if the new mathematics turns out to have a flaw, which has happened to other candidates. This is already on by default in the major browsers and content delivery networks, and recent OpenSSH versions use a hybrid by default too.
- X25519MLKEM768: one classical and one post-quantum exchange, secrets combined
- safe if EITHER holds: covers a flaw in the new maths
- on by default in major browsers and CDNs
- OpenSSH: mlkem768x25519
- needs TLS 1.3 and a recent library (OpenSSL 3.5+)
Deadlines
Regulators have set dates. NIST finalised its transition plan in October twenty twenty six: RSA, Diffie-Hellman and elliptic curves are deprecated after twenty thirty and disallowed after twenty thirty five, at every key size. High-value US federal systems must use post-quantum key exchange by the end of twenty thirty. The UK's security centre asks for discovery by twenty twenty eight and completion by twenty thirty five. Expect customers and auditors to ask about your plan.
- NIST IR 8547 (final, Oct 2026): RSA, DH and ECC deprecated after 2030, disallowed after 2035, at any key size
- US federal high-value systems: PQC key exchange by end of 2030, signatures by 2031
- UK NCSC: discovery by 2028, complete by 2035
- expect customers to ask
Step 1: inventory
Step one of a migration is an inventory, because you cannot replace what you have not found. Where is public key cryptography used? TLS, SSH, VPNs, code signing, tokens, your internal certificate authority, key services, devices, encrypted backups. Which library and version does each use? Which data must stay secret for a decade? Which vendors do you depend on? The result is sometimes called a cryptographic bill of materials.
- where is public key crypto used? TLS, SSH, VPN, code signing, JWTs, PKI, KMS, devices, backups
- which library and version?
- which data must stay secret for 10+ years?
- which vendors and protocols do you depend on?
- output: a "crypto bill of materials" (CBOM)
Step 2: migrate in order
Then migrate in order of risk. First, TLS 1.3 everywhere, updated libraries, and hybrid key exchange at the edge; for many teams that is a configuration change at the load balancer or CDN. Then SSH and VPNs. Use AES two fifty six for long-lived data. Signatures and certificates come later: plan and test, but follow the standards as they settle. Ask vendors for roadmaps. And design for agility: algorithms set in configuration, not scattered through code.
- 1. TLS 1.3 everywhere; update libraries; turn on hybrid key exchange at the edge
- 2. SSH and VPN: hybrid modes
- 3. symmetric: AES-256 for long-lived data
- 4. signatures and PKI: plan, test, follow standards
- 5. ask vendors for roadmaps
- crypto agility: algorithms in config, not in code
Common mistakes
Mistakes. Waiting for a quantum computer to appear before starting, when the data is being recorded now. The opposite: panic, and ripping out working cryptography overnight. Buying a product labelled quantum-safe that uses secret or unreviewed algorithms. Confusing post-quantum cryptography, which is software, with quantum key distribution, which needs special hardware and is not what the standards recommend. Skipping the hybrid step. And having no inventory.
- waiting for the quantum computer before starting
- or panic: ripping out working crypto overnight
- buying "quantum-safe" products with secret algorithms
- confusing PQC with quantum key distribution (QKD)
- pure PQC with no hybrid
- no inventory
Say it like this
In the interview: a large quantum computer would break RSA and elliptic curves through Shor's algorithm, while AES two fifty six and SHA two remain safe. The near-term risk is harvest now, decrypt later, so I start with a cryptographic inventory and enable hybrid key exchange with ML-KEM on TLS 1.3 for external traffic. Signatures and PKI follow the NIST timelines toward twenty thirty and twenty thirty five. And I build in agility, so algorithms can be changed by configuration.
- "Shor breaks RSA and ECC;
- AES-256 and SHA-2 survive.
- The near risk is harvest now, decrypt later, so I start
- with an inventory and hybrid
- ML-KEM key exchange on TLS
- 1.3, keep AES-256, plan
- signatures to NIST timelines, and build crypto agility."