Three NIST standards anchor the post-quantum transition, all published the same day: FIPS 203 (ML-KEM, key establishment), FIPS 204 (ML-DSA, signatures), and FIPS 205 (SLH-DSA, signatures), approved August 13, 2024 and effective August 14, 2024. Their lineages: ML-KEM derives from CRYSTALS-Kyber, ML-DSA from CRYSTALS-Dilithium, SLH-DSA from SPHINCS+.
A standard does two things here. Implementations converge on one set of byte-exact rules, so a key generated in one library decapsulates in another. Compliance regimes (CNSA 2.0 among them) reference the exact documents, which is why the parameter names in procurement paperwork are the same names on this page.
Two more standards are pending: FN-DSA (FIPS 206, from Falcon) and HQC (the backup key establishment scheme), neither with a public draft as of December 2026. This page covers what is final, states the pending items as pending, and carries every size number against its source.
| Term | What it means here |
|---|---|
| KEM | Key encapsulation mechanism: a public-key scheme with three operations (KeyGen, Encaps, Decaps) that establishes a shared secret between two parties without transmitting it. ML-KEM is the standardized KEM; TLS 1.3 uses it for key exchange. |
| Encapsulation / decapsulation | Encapsulation runs against a public encapsulation key and outputs a ciphertext plus the shared secret. Decapsulation runs with the private decapsulation key and recovers the same secret from that ciphertext. The sender encapsulates; the holder of the private key decapsulates. |
| Ciphertext | In KEM terminology, the fixed-size byte string the encapsulator sends: 1,088 bytes for ML-KEM-768. It is not an encryption of a message; it is the input the decapsulator needs to recover the shared secret. |
| Parameter set | One concrete configuration of an algorithm. ML-KEM ships as ML-KEM-512, -768, and -1024; all three share the ring (n=256, q=3329) and differ in the module rank k (2/3/4), which sets sizes and strength. |
| Security category | A NIST strength category (1-5) stating the attack cost a parameter set targets: category 1 approximates AES-128, category 3 AES-192, category 5 AES-256. ML-KEM-768 sits in category 3; CNSA 2.0 requires the category 5 sets. |
| Hybrid | A key exchange combining a classical algorithm and a post-quantum algorithm so the session key survives the failure of either one alone. RFC 10024 standardizes the TLS 1.3 hybrids; X25519MLKEM768 is the deployed one. |
| Signature scheme | A public-key scheme with its own three operations (key generation, signing, verification). Signatures authenticate rather than encrypt, which is why their sizes land in certificates, code signing, and protocols like JWT. |
| Stateful / stateless signatures | Stateful hash-based schemes (LMS, XMSS) sign with one-time keys inside a Merkle tree and must never reuse a state; reusing one is catastrophic. Stateless SLH-DSA picks trees pseudorandomly, trading size and speed for the absence of a state counter to protect. |
Every key-encapsulation mechanism exposes the same three operations. KeyGen produces the pair: an encapsulation key (public, 1,184 bytes for ML-KEM-768) and a decapsulation key (private, 2,400 bytes). Encaps runs on the sender against the public key and outputs two things at once: a ciphertext (1,088 bytes, travels to the receiver) and the shared secret (32 bytes, never travels). Decaps runs on the receiver with the private key and the ciphertext, and recovers the same 32-byte secret.
After that the connection is symmetric: the 32-byte secret feeds a standard AEAD scheme, the same job a Diffie-Hellman secret does today. The teaching simplification against raw Diffie-Hellman: the sender runs a randomized algorithm against the receiver’s public key, and both sides derive the same secret without ever transmitting it.
How ML-KEM actually gets there (noisy linear equations over a polynomial ring, and the re-encrypt-and-check step that makes tampering detectable) is implementation math, and it lives in the sizes playground’s depth section. For deployment decisions the byte ruler below is the part that matters.
Key establishment post-quantum is cheap in bytes: ML-KEM-768’s 1,184-byte public key and 1,088-byte ciphertext are roughly 37 and 34 times an X25519 share, numbers a TLS handshake absorbs. Signatures are the problem. ML-DSA signatures run 2,420 to 4,627 bytes against Ed25519’s 64, a 38-to-72-fold increase at the parameter sets deployments will actually use, and public keys grow the same way (1,312 to 2,592 bytes against 32).
That ratio, not the mathematics, is what breaks deployments. A certificate carries signatures and public keys; chains multiply both. Code-signed binaries embed signatures in every signed object. JWTs grow by the signature’s length on every token. HTTP headers and middleboxes built against small-handshake assumptions meet the ClientHello and Certificate messages of a bigger protocol. The wire reality: one TCP packet carries a 1,464-byte payload on Ethernet, so an ML-DSA-65 signature alone spans three packets before any certificate metadata rides along.
The conservative fallbacks cost more, deliberately: SLH-DSA signatures run 7,856 to 49,856 bytes, and Classic McEliece, the code-based alternative, pairs 96-byte ciphertexts with a 261,120-byte public key. The table:
| Scheme | Role | Signature | Public key | Ciphertext |
|---|---|---|---|---|
| X25519 (today) | key establishment | - | 32 B | 32 B |
| ML-KEM-768 (FIPS 203) | key establishment | - | 1,184 B | 1,088 B (secret: 32 B) |
| Ed25519 (today) | signatures | 64 B | 32 B | - |
| ML-DSA-44 (FIPS 204) | signatures | 2,420 B | 1,312 B | - |
| ML-DSA-65 (FIPS 204) | signatures | 3,309 B | 1,952 B | - |
| ML-DSA-87 (FIPS 204) | signatures | 4,627 B | 2,592 B | - |
| SLH-DSA-128s (FIPS 205) | signatures | 7,856 B | 32 B | - |
| Classic McEliece (not standardized) | key establishment | - | 261,120 B | 96 B |
SLH-DSA’s range endpoints are the verified FIPS 205 table values (7,856 for the small/slow 128s set, 49,856 for the 256f set); the intermediate parameter sets sit between them and are not printed here because their table values were not re-verified against the FIPS 205 table. The playground renders these numbers against real containers:pick an algorithm, see it fit a packet or fragment.
NIST selected algorithms across several math families on purpose: structured lattices carry the performance load, hash functions and code-based schemes stand behind them. Dustin Moody, the project’s lead, stated the rationale when HQC was selected: “we want to have a backup standard that is based on a different math approach than ML-KEM,” and the FIPS 205 announcement says the same for signatures: it is “intended as a backup method in case ML-DSA proves vulnerable.” Hash-based and code-based assumptions have been studied far longer than lattice assumptions; lattice schemes are 10 to 50 times more efficient.
Two pending entries: FN-DSA (FIPS 206, from Falcon) trades on compact signatures (Falcon-512 is about 666 bytes, single-source) with floating-point arithmetic notoriously hard to implement; NIST reset its plan to fixed-point arithmetic on September 28, 2026, and no public draft exists as of December 2026. HQC was selected March 11, 2025 as ML-KEM’s code-based backup; a draft was planned within about a year, none had appeared by early December 2026, and its exact sizes have moved across versions, so this page prints none. Treat both as statuses until drafts land.
Quantum risk runs both directions: a future CRQC breaks today’s ECDHE retroactively, and a future cryptanalytic break could hit a brand-new algorithm. Hybrid key exchange combines both secrets so neither failure alone matters. RFC 10024 (Standards Track, August 2026) defines the TLS 1.3 hybrids and states the property: security “as long as at least one of the component algorithms remains secure, even if the others are compromised.”
The deployed combination is X25519MLKEM768, TLS group 4588. The client’s key_share carries the ML-KEM-768 encapsulation key followed by the X25519 share: 1,184 + 32 = 1,216 bytes, against X25519’s 32. The server answers with the ciphertext plus its share: 1,088 + 32 = 1,120 bytes. Each side now holds both secrets; TLS 1.3 concatenates them (64 bytes) and runs HKDF over the result. RFC 10024 also obsoletes the pre-standard Kyber code points (X25519Kyber768Draft00, 25497, and SecP256r1Kyber768Draft00, 25498), whose registry entries IANA marks deprecated.
Deployment is the part already done: X25519MLKEM768 is on by default in Chrome 131+ and Edge 131+, Firefox 132+ on desktop (135+ for HTTP/3), and Safari 26, and Cloudflare enables it by default on visitor-to-edge traffic (multiple concordant secondaries). Key exchange is the migrated half of the transition; signatures are not, which is why the playground’s bars measure signature sizes against packet budgets.
The NSA’s Commercial National Security Algorithm Suite 2.0 (announced September 7, 2022; FAQ at version 2.2, October 2026) is the compliance regime to know even outside defense, because vendors build to it. It binds National Security Systems and guides the Defense Industrial Base; it does not mandate anything for the general public. Its algorithm list is narrow and specific:AES-256, SHA-384/512, ML-KEM-1024 for key establishment (all classification levels), ML-DSA-87 for digital signatures including software and firmware (all classification levels), and the statefulLMS/XMSS pair (SP 800-208) for firmware signing. SLH-DSA appears nowhere in the table, and NSA states it chose ML-DSA over FN-DSA explicitly. Anything calling itself Kyber or Dilithium that does not adhere to FIPS 203/204 is, per the FAQ, not CNSA 2.0 compliant.
Five distinct dates govern, each naming a different obligation:
| Date | What it requires | Authority |
|---|---|---|
| January 1, 2027 | CNSA 2.0 algorithms required in all new NSS acquisitions | FAQ v2.2 (primary) |
| December 31, 2030 | all NSS equipment and services that cannot support CNSA 2.0 phased out | FAQ v2.2 (primary) |
| December 31, 2031 | CNSA 2.0 algorithms mandated for use: full quantum resistance | FAQ v2.2 (primary) |
| 2030 / 2033 | category exclusive-use deadlines: signing and networking in 2030; web/cloud, operating systems, niche, and custom/legacy in 2033 | 2022 advisory; verified through consistent secondary reporting |
| 2035 | NSM-10’s goal date for NSS quantum resistance (NSA says well ahead of it) | National Security Memorandum 10, May 2022 |
The migration guide carries the full deadline stack (EO 14412, OMB M-26-15, NIST IR 8547, the UK NCSC dates) and what binds whom; this page states the requirements themselves. The relevant non-NSS echo: EO 14412 sets federal key establishment by end of 2030 and signatures by end of 2031, close to the CNSA windows.
- Key establishment migrated; signatures have not. Hybrid ML-KEM rides in handshakes today on major browsers; ML-DSA certificates are barely beginning. The size table explains both halves.
- The deployment bottleneck is byte count. ML-KEM’s ~1.2 KB per direction fits TLS; ML-DSA’s 2,420-byte minimum per signature fragments packets inside certificate chains, code signing, and token formats. Plan around bytes.
- The portfolio is deliberate. Structured lattices lead; hash-based (SLH-DSA, LMS/XMSS) and code-based (HQC, Classic McEliece) schemes back them up on different assumptions. A break in one family does not strand the ecosystem.
- Hybrid is the bridge, standardized and deployed. RFC 10024’s property is the contract: security as long as at least one component holds. It costs 1,216 bytes per ClientHello; it covers both failure directions.
- Publication status is part of the claim. Three FIPS are final; FN-DSA and HQC have no public drafts (FN-DSA’s plan was reset to fixed-point arithmetic in September 2026); HQC sizes are version-dependent until a draft prints them. Final standards carry errata planning notes (FIPS 203: November 2025; FIPS 204: July 2026), so sizes cite tables, not folklore.
- Which KEM parameter set? ML-KEM-768 is the internet default (TLS hybrids, Signal’s PQXDH); ML-KEM-1024 is the CNSA 2.0 requirement. The step from 768 to 1024 buys category 5 strength for 1,568-byte keys and ciphertexts. Unless a compliance regime names a set, 768 is the interoperable answer.
- Which signature scheme for new artifacts? ML-DSA-65 is the balanced set (3,309-byte signatures); ML-DSA-44 when bytes dominate, ML-DSA-87 under CNSA 2.0. SLH-DSA fits when a conservative hash-based assumption is worth 7,856+ bytes per signature. FN-DSA becomes the compact option when, and only when, a draft lands.
- What does a bigger certificate chain cost you? Count signatures and public keys per chain, compare against the 1,464-byte packet budget, and watch the constrained clients: embedded TLS stacks, middleboxes, handshake-timeout paths. The playground’s packet game runs this arithmetic per algorithm.
- What binds you, and when? NSS-adjacent work answers to the CNSA 2.0 table above (acquisitions from January 1, 2027). US federal civilian systems answer to EO 14412’s 2030/2031 dates. Everyone else: hybrid key exchange now (it is the deployed default anyway), and a signature migration plan sized in bytes, not in confidence.
| Claim | Primary source | Status |
|---|---|---|
| FIPS 203, 204, 205 approved August 13, 2024; effective August 14, 2024 | Federal Register 89 FR 66052; CSRC FIPS 203/204/205 final pages | verified |
| ML-KEM derived from CRYSTALS-Kyber, ML-DSA from CRYSTALS-Dilithium, SLH-DSA from SPHINCS+ | Federal Register, August 14, 2024 | verified |
| ML-KEM-768: encapsulation key 1,184 B, decapsulation key 2,400 B, ciphertext 1,088 B, shared secret 32 B; sets 512/768/1024 in categories 1/3/5 | FIPS 203; conformance sizes cross-checked in mlkem-native (Table 3 values) | verified (multiple implementations agree) |
| ML-DSA signatures 2,420 / 3,309 / 4,627 B; public keys 1,312 / 1,952 / 2,592 B (44/65/87) | FIPS 204 Table 2; sizes cross-checked in liboqs | verified (multiple implementations agree) |
| Ed25519: 64-byte signatures, 32-byte keys; ECDSA P-256: about 64-byte raw signatures | RFC 8032; ledger ECDSA-vs-EdDSA row | verified |
| SLH-DSA signatures run 7,856 to 49,856 bytes depending on parameter set | FIPS 205 (endpoints verified against the parameter table) | verified for endpoints; mid-range values not printed on this page |
| Classic McEliece: 261,120-byte public key with 96-byte ciphertexts (level 1) | Classic McEliece project, parameter tables | verified |
| RFC 10024 defines X25519MLKEM768 (group 4588), 1,216-byte client share, 1,120-byte server share; obsoletes the pre-standard Kyber code points (25497, 25498) | RFC 10024 (Standards Track, August 2026), full text | verified (primary full text) |
| CNSA 2.0 algorithm set: AES-256, SHA-384/512, ML-KEM-1024, ML-DSA-87, LMS/XMSS; SLH-DSA absent; acquisitions from January 1, 2027, phase-out by December 31, 2030, full quantum resistance by December 31, 2031 | NSA CNSA 2.0 FAQ v2.2 (October 2026) | verified (primary PDF; the host blocks plain fetches, quotes were read during the December 3, 2026 research run) |
| Category exclusive-use deadlines land in 2030 (signing, networking) or 2033 (web/cloud, operating systems, niche, custom/legacy) | NSA CNSA 2.0 advisory, September 2022 | consistent across multiple independent secondary reports; the advisory PDF blocks plain fetches |
| FN-DSA (FIPS 206): no public draft as of December 2026; NIST reset the plan to fixed-point arithmetic on September 28, 2026 | NIST pqc-forum post (Perlner), September 28, 2026 | verified |
| HQC selected March 11, 2025 as the backup KEM; draft planned within about a year, final expected 2027; no public draft by December 2026 | NIST news, March 11, 2025; third-party draft trackers | verified |
| "we want to have a backup standard that is based on a different math approach than ML-KEM" (Moody) | NIST news, March 11, 2025 | verified |
| Hybrid TLS defaults: Chrome 131+, Edge 131+, Firefox 132+ desktop (135+ for HTTP/3), Safari 26; Cloudflare enables it by default on visitor-to-edge traffic | Cloudflare documentation and concordant secondary reports | verified (multiple concordant secondaries) |
Size values on this page cite FIPS tables and were cross-checked against independent implementations (mlkem-native’s FIPS 203 conformance file; liboqs’ parameter pages) on December 3, 2026. Where a source page blocks plain fetches (the NSA hosts), the status column says so rather than implying a fresh read.
Six questions the guide answers above; each opens with its answer. If one will not open for you, the section anchor in its question points back to the material.
Hybrid TLS adds about 1.2 KB per handshake, while ML-DSA signatures are 2,420 bytes or more. Why is one migration far along and the other barely started?
Key exchange and authentication scale differently. A TLS handshake carries one encapsulation key and one ciphertext (a 1,216-byte client share and a 1,120-byte server share against a 1,464-byte TCP payload), which today’s MTUs absorb, and hybrid groups ride the existing ClientHello machinery. Authentication multiplies: a certificate chain signs with ML-DSA (2,420 bytes or more per signature, plus 1,312-byte or larger public keys), and every intermediate, root, OCSP response, and signed object grows the same way. The 2026 measurements agree: hybrid key exchange is on by default in major browsers, while a 32,011-domain scan found zero post-quantum signatures in the wild (single-source preprint).
Your certificate authority starts issuing ML-DSA-65 certificates next quarter. What breaks first?
Sizes, not security. A chain of three or four certificates carries several ML-DSA signatures and public keys, pushing handshakes past one TCP packet’s payload (1,464 bytes on a 1,500-byte MTU) into multi-round-trip territory on constrained links. Middleboxes and embedded TLS stacks built against small-certificate assumptions are the classic breakage points; the Chrome 124 hybrid rollout produced exactly this class of incident for key shares. Code signing and JWT-based systems feel the same multiplication on every artifact they sign.
CNSA 2.0 replaces ML-KEM with ML-KEM-1024 but keeps AES-256 and SHA-384. Why the difference?
Different attack shapes. Shor’s algorithm removes the public-key schemes outright, so they are replaced. Grover’s algorithm only halves symmetric effective strength, so AES-256 keeps a 128-bit quantum margin and SHA-384/512 answer the collision half. The suite swaps the algorithms that fall and re-parameterizes the ones that stand.
Why is SLH-DSA absent from CNSA 2.0 while LMS and XMSS are present, and what does that say about choosing signatures?
The FAQ’s algorithm table assigns firmware and software signing to the stateful LMS/XMSS pair and digital signatures to ML-DSA-87; SLH-DSA appears nowhere in the table. NSA also states it chose ML-DSA over FN-DSA explicitly. The lesson for non-NSS deployments: a conservative backup (SLH-DSA) is a portfolio decision, not a compliance requirement, and stateful hash-based signatures remain a firmware-signing niche where their tiny sizes and long lives fit.
A vendor data sheet lists HQC public keys at 2,241 bytes. What is wrong with repeating that number?
HQC has no published draft as of December 2026, and its parameter sizes have moved across versions (2,241 versus 2,249 bytes appear in different level-1 tables). The number is version-dependent until the FIPS draft lands and a table carries it. The defensible statement: HQC was selected in March 2025, its keys and ciphertexts are larger than the structured-lattice KEMs (NIST IR 8545 says noticeably larger), and exact sizes wait for the draft.
What exactly does hybrid key exchange buy against a future quantum computer, and against a future break of ML-KEM?
Both. The two secrets are independent: a CRQC recovers the X25519 secret but not the ML-KEM secret, and a cryptanalytic break of ML-KEM leaves the X25519 secret intact. RFC 10024 states the property: security as long as at least one of the component algorithms remains secure. The cost is the extra bytes: a 1,216-byte client share instead of 32.