--- title: "Post-Quantum Cryptography Explained: ML-KEM, ML-DSA, HQC" url: https://playciso.com/blog/post-quantum-cryptography-explained updated: 2026-12-04 section: Blog publisher: PlayCISO --- # Post-Quantum Cryptography Explained: ML-KEM, ML-DSA, HQC > What post-quantum cryptography is, the NIST standards and their sizes, HQC, hybrid TLS, why crypto agility matters, PQC vs QKD, and where to start. Source: https://playciso.com/blog/post-quantum-cryptography-explained · Published: 2026-12-04 · Publisher: PlayCISO (https://playciso.com) Primary source: https://csrc.nist.gov/projects/post-quantum-cryptography --- **Post-quantum cryptography (PQC)** is public-key cryptography built to stay secure against a future large quantum computer, while running on the computers and networks we already have. It replaces **RSA** and **elliptic-curve** algorithms, which NIST calls "quantum-vulnerable". NIST published the first standards on **13 August 2024**, and its transition plan, **NIST IR 8547** (final, 27 October 2026), deprecates the old public-key algorithms after 2030 and disallows them after 2035. This guide explains the standards, their sizes, the backup algorithm, hybrid key exchange and where to start. *Based on the NIST standards and NIST IR 8547, NIST's HQC announcement, RFC 10024, the UK NCSC, the Cryptography Incident Review Group and the Castryck-Decru paper; links at the end. Facts as of 4 December 2026.* ## What post-quantum cryptography is, and is not Most of the internet relies on two kinds of cryptography. **Symmetric** ciphers such as AES encrypt the data. **Public-key** algorithms such as RSA, ECDH and ECDSA agree the keys and sign things: web certificates, software updates, logins. A large enough quantum computer would threaten the public-key part. PQC swaps in new public-key algorithms based on different mathematical problems. It is **not** quantum key distribution (QKD). QKD uses quantum physics and dedicated hardware to share keys. The UK NCSC recommends PQC "as the primary mitigation to the threat to cryptography from quantum computing", says it "will not support the use of QKD for government or military applications", and says that in other sectors QKD "should not be solely relied upon". PQC needs no special hardware: it is a software and configuration change, which is why it scales. Symmetric cryptography mostly stays. NIST IR 8547 says approved symmetric primitives with at least 128 bits of classical security "are believed to meet the requirements of at least Category 1 security", and rates AES-128, AES-192 and AES-256 as Categories 1, 3 and 5. ## Why now: harvest now, decrypt later Nobody has to wait for a quantum computer to start collecting. NIST IR 8547 describes adversaries who "collect encrypted data now with the goal of decrypting it once quantum technology matures"; the 2023 CISA, NSA and NIST quantum-readiness factsheet calls it a "catch now, break later or harvest now, decrypt later operation". Anything that must stay secret for years (health records, contracts, state secrets, long-lived credentials) is already exposed if it travels over classical key exchange. Mosca's rule, as NIST restates it: if X is how many years data must stay secure and Y is how long your migration takes, you must start before X + Y exceeds Z, the expected time until a cryptanalytically relevant quantum computer. Signatures are not exposed to harvest-now attacks, but NIST still calls their transition "urgent" because it takes longer. Our [PQC deadline calculator](/tools/pqc-deadline-calculator) runs the Mosca check with your own numbers. ## The standards | Algorithm | Standard | Job | Based on | Status (4 Dec 2026) | | --- | --- | --- | --- | --- | | ML-KEM | FIPS 203 | Key establishment | Module lattices (from CRYSTALS-Kyber) | Final, 13 Aug 2024. NIST recommends ML-KEM-768 as the default | | ML-DSA | FIPS 204 | Signatures | Module lattices (from CRYSTALS-Dilithium) | Final, 13 Aug 2024 | | SLH-DSA | FIPS 205 | Signatures | Hash functions (from SPHINCS+) | Final, 13 Aug 2024 | | FN-DSA | Not yet published | Signatures | Lattices (from Falcon) | NIST says a FIPS is in development; no draft on NIST's site as of mid-November 2026 | | HQC | Not yet published | Key establishment (backup) | Error-correcting codes | Selected 11 Mar 2025; standard in development | **HQC is the backup, not the replacement.** NIST says HQC "will serve as a backup for ML-KEM, the main algorithm for general encryption" and "is based on different math than ML-KEM, which could be important if a weakness were discovered in ML-KEM." It also says HQC "is not intended to take the place of ML-KEM". Keep migrating to ML-KEM; plan for HQC as an option you can switch to. For firmware and software signing, NIST also lists the stateful hash-based schemes LMS and XMSS (SP 800-208), which it says "are not intended for general use but may be useful for applications like software and firmware signing." ## Sizes at a glance Post-quantum keys and signatures are far larger than the classical ones they replace. That is the most common practical break: certificate chains, cookies, HTTP headers, smart cards, firmware slots and fixed-size database columns were sized for elliptic curves. | Parameter set | Public / encapsulation key | Signature or ciphertext | Source | | --- | --- | --- | --- | | ML-KEM-512 | 800 bytes | 768-byte ciphertext | FIPS 203, Table 3 | | ML-KEM-768 (default) | 1,184 bytes | 1,088-byte ciphertext | FIPS 203, Table 3 | | ML-KEM-1024 | 1,568 bytes | 1,568-byte ciphertext | FIPS 203, Table 3 | | ML-DSA-44 | 1,312 bytes | 2,420-byte signature | FIPS 204, Table 2 | | ML-DSA-65 | 1,952 bytes | 3,309-byte signature | FIPS 204, Table 2 | | ML-DSA-87 | 2,592 bytes | 4,627-byte signature | FIPS 204, Table 2 | | SLH-DSA 128s | 32 bytes | 7,856-byte signature | FIPS 205, Table 2 | | SLH-DSA 128f | 32 bytes | 17,088-byte signature | FIPS 205, Table 2 | | Falcon-512 | 897 bytes | 666-byte signature | Falcon team (no FIPS yet) | | Falcon-1024 | 1,793 bytes | 1,280-byte signature | Falcon team (no FIPS yet) | Every ML-KEM shared secret is 32 bytes. In SLH-DSA names, "s" means small signatures and "f" means fast signing. The Falcon figures are the Falcon designers' published reference numbers; the final FN-DSA standard may differ. Our [Post-Quantum Code Scanner](/tools/pqc-code-scanner) flags fixed-size fields and cookies that an ML-DSA signature would overflow. ## Hybrid key exchange: the step you can take this week A hybrid combines a classical key exchange with ML-KEM, so the connection stays safe as long as either one holds. For TLS 1.3, RFC 10024 (August 2026) defines three hybrids; **X25519MLKEM768** (codepoint 0x11EC) is the one IANA marks Recommended, and Chrome has used it since replacing its earlier Kyber hybrid. NIST IR 8547 says hybrids are "typically expected to be temporary measures" before a second move to PQC-only, and that a hybrid can be FIPS 140-validated as long as one input comes from an approved scheme. Check what your servers negotiate with the [Post-Quantum TLS Checker](/tools/post-quantum-tls-checker). On 3 December 2026 the main websites of all eight companies behind the [post-quantum joint statement](/blog/post-quantum-joint-statement-rsa-elliptic-curve) negotiated X25519MLKEM768 in our check, while their certificates were still classical. ## Two lessons for crypto agility ### SIKE: a finalist-stage scheme can fall to an ordinary computer SIKE, an isogeny-based key exchange, had advanced to the fourth round of NIST's process when Wouter Castryck and Thomas Decru published "An efficient key recovery attack on SIDH" in July 2022. The attack is classical, not quantum. The current version of their paper says it "is particularly fast and easy to implement" for SIKE and that their implementation "breaks SIKEp434, which aims at security level 1, in about ten minutes on a single core." Years of review did not catch it. The lesson is not that PQC is fragile; it is that any single algorithm can fail, so systems should be able to swap one by configuration rather than by rebuild. ### November 2026: new results on structured lattices On 30 November 2026, Anthropic published papers on lattice problems, including a quantum algorithm for certain module-lattice problems. The Cryptography Incident Review Group, which reviewed the results, says that against NIST's structured-lattice standards (ML-KEM and ML-DSA) the attack "requires vastly more computation than the best previously known attacks", that "the scale of the new attack is galactic", and that its significance is asymptotic. Anthropic's own write-up says "the algorithms are not practical for the parameter sets of ML-KEM and ML-DSA." The review group's advice: keep migrating, "choose the highest security level each application can support", "encourage hybrids that combine schemes based on different mathematical foundations", and design systems "so that individual schemes can be replaced quickly". That is the same answer SIKE gave: agility, not delay. Our [crypto-agility checklist](/tools/crypto-agility-pqc-readiness) scores how quickly you could swap. ## Where the deadlines bite first - NIST: quantum-vulnerable public-key algorithms deprecated after 2030 and disallowed after 2035, at every key strength. Details in [our NIST IR 8547 post](/blog/nist-ir-8547-final-pqc-transition-2030-2035). - Browsers and certificates: Google's Chrome Security Team says Chrome intends to stop trusting ECDSA P-256 CA keys as of 15 March 2027. See [our Chrome P-256 post](/blog/chrome-distrust-ecdsa-p256-ca-keys-march-2027). - Cryptocurrency: coins whose public key is already on chain are the first exposure. See [which Bitcoin outputs show a public key](/blog/bitcoin-quantum-exposure-bip-361-nsa-advisory) and check addresses with the [Bitcoin Quantum Exposure Checker](/tools/bitcoin-quantum-exposure-checker). ## Where to start - Inventory. List where RSA and elliptic curves are used: your code, libraries, certificates, protocols, devices and vendors. Keep it as a cryptographic bill of materials (CBOM). The [code scanner](/tools/pqc-code-scanner) covers your own repositories. - Rank by secrecy lifetime. Data that must stay secret longest moves first. Run the Mosca check in the [deadline calculator](/tools/pqc-deadline-calculator). - Turn on hybrid key exchange (X25519MLKEM768) where your TLS and SSH stacks support it, and verify with the [TLS checker](/tools/post-quantum-tls-checker). - Test sizes. Try ML-DSA certificates and signatures in a lab against your load balancers, HSMs, cookies and database fields before production needs them. - Make it swappable. Keep algorithm choices in configuration, behind one crypto layer, and rehearse a swap. Practise the decisions in the [PQC migration lab](/tools/pqc-migration-lab) and test yourself with [PQC exam practice](/tools/pqc-exam-practice). Keep this in proportion: attackers today mostly get in through basics such as leaver accounts, weak service account passwords and open certificate templates, so run post-quantum planning alongside them, not instead (see [post-quantum vs security basics: fix these first](/blog/security-basics-before-post-quantum)). ## FAQ ### What is post-quantum cryptography? Post-quantum cryptography (PQC) is public-key cryptography designed to stay secure against a future large quantum computer, while running on today's ordinary computers and networks. NIST published the first three standards on 13 August 2024: ML-KEM (FIPS 203) for key establishment, and ML-DSA (FIPS 204) and SLH-DSA (FIPS 205) for digital signatures. ### Is post-quantum cryptography the same as quantum key distribution (QKD)? No. PQC is software: new algorithms that run on existing hardware and protocols such as TLS. QKD uses quantum physics and special hardware to share keys. The UK NCSC recommends PQC "as the primary mitigation to the threat to cryptography from quantum computing" and says it "will not support the use of QKD for government or military applications". ### What is "harvest now, decrypt later"? It is the risk that someone records encrypted traffic today and decrypts it once a capable quantum computer exists. NIST IR 8547 describes it as adversaries collecting "encrypted data now with the goal of decrypting it once quantum technology matures." It is why key establishment (ML-KEM) is usually moved first: data with a long secrecy lifetime is already at risk. ### When do RSA and elliptic-curve cryptography have to go? Under the final NIST IR 8547 (27 October 2026), RSA, ECDSA, EdDSA, finite-field and elliptic-curve Diffie-Hellman and MQV are deprecated after 2030 and disallowed under NIST standards and guidelines after 2035. US federal high value assets and high impact systems have earlier dates under Executive Order 14412. ### What is HQC? HQC is a key-encapsulation mechanism NIST selected on 11 March 2025 as a backup for ML-KEM. NIST says it "is based on different math than ML-KEM, which could be important if a weakness were discovered in ML-KEM", and that it "is not intended to take the place of ML-KEM". Its standard is still being written. ### How big are post-quantum keys and signatures? Much bigger than RSA and elliptic-curve ones. From the NIST standards: ML-KEM-768 has a 1,184-byte encapsulation key and a 1,088-byte ciphertext; ML-DSA-65 has a 1,952-byte public key and a 3,309-byte signature; SLH-DSA at the 128s sets has a 32-byte public key but a 7,856-byte signature. Size is why certificates, cookies, headers and fixed-size database fields need checking. ### Why does crypto agility matter if NIST already chose the algorithms? Because a scheme can fail late. SIKE had reached the fourth round of NIST's process when Castryck and Decru published a classical key recovery attack in 2022; the current version of their paper breaks SIKEp434 "in about ten minutes on a single core". Systems that can swap algorithms by configuration, and hybrids that keep a classical layer, limit the damage when that happens. ### Did Anthropic break ML-KEM or ML-DSA in November 2026? No source says so. The Cryptography Incident Review Group, which reviewed Anthropic's lattice results, says that against ML-KEM and ML-DSA the attack "requires vastly more computation than the best previously known attacks", calls its scale "galactic", and recommends "continuing the transition to post-quantum cryptography". Anthropic's own write-up says the algorithms "are not practical for the parameter sets of ML-KEM and ML-DSA". ### Does AES need to be replaced? Not AES-128 or stronger. NIST IR 8547 says approved symmetric primitives with at least 128 bits of classical security "are believed to meet the requirements of at least Category 1 security". It rates AES-128 Category 1, AES-192 Category 3 and AES-256 Category 5. The post-quantum work is about public-key cryptography. ### Where do I start? Find where you use RSA and elliptic curves (code, libraries, certificates, protocols, vendors) and keep it as a cryptographic bill of materials. Then turn on hybrid key exchange (X25519MLKEM768) where your TLS stack supports it, rank systems by how long their data must stay secret, and plan certificate and signature changes. PlayCISO's deadline calculator, TLS checker and code scanner cover the first steps. ## Sources - [NIST FIPS 203: Module-Lattice-Based Key-Encapsulation Mechanism Standard (13 Aug 2024)](https://csrc.nist.gov/pubs/fips/203/final) - [NIST FIPS 204: Module-Lattice-Based Digital Signature Standard (13 Aug 2024)](https://csrc.nist.gov/pubs/fips/204/final) - [NIST FIPS 205: Stateless Hash-Based Digital Signature Standard (13 Aug 2024)](https://csrc.nist.gov/pubs/fips/205/final) - [NIST IR 8547: Transition to Post-Quantum Cryptography Standards (final, Oct 2026)](https://csrc.nist.gov/pubs/ir/8547/final) - [NIST: NIST Selects HQC as Fifth Algorithm for Post-Quantum Encryption (11 Mar 2025)](https://www.nist.gov/news-events/news/2025/03/nist-selects-hqc-fifth-algorithm-post-quantum-encryption) - [NIST Post-Quantum Cryptography project](https://csrc.nist.gov/projects/post-quantum-cryptography) - [RFC 10024: Post-Quantum Traditional Hybrid Key Agreement Mechanisms for TLS 1.3 (Aug 2026)](https://datatracker.ietf.org/doc/rfc10024/) - [CISA, NSA and NIST: Quantum-Readiness: Migration to Post-Quantum Cryptography (21 Aug 2023)](https://www.cisa.gov/resources-tools/resources/quantum-readiness-migration-post-quantum-cryptography) - [UK NCSC: Quantum networking technologies (QKD position)](https://www.ncsc.gov.uk/paper/quantum-networking-technologies) - [Castryck and Decru: An efficient key recovery attack on SIDH (IACR ePrint 2022/975)](https://eprint.iacr.org/2022/975) - [Cryptography Incident Review Group: Initial Assessment of Anthropic's Findings on Lattice Cryptography (30 Nov 2026)](https://cirg.org/statements/1/) - [Anthropic: four papers on lattices and their Lean 4 formalization (GitHub)](https://github.com/anthropics/formal-math/tree/main/lattices) - [Falcon signature scheme: reference sizes (Falcon team)](https://falcon-sign.info/) - [PlayCISO: NIST IR 8547 final, what changed](/blog/nist-ir-8547-final-pqc-transition-2030-2035) - [PlayCISO: the post-quantum joint statement and the NSA advisory](/blog/post-quantum-joint-statement-rsa-elliptic-curve)