Choosing a post-quantum algorithm is mostly a choice about size, maths family and standards status, and getting any of the three wrong shows up later as broken handshakes, oversized certificates or a forced second migration. This guide compares the post-quantum algorithms that matter for enterprise migration side by side: the lattice, hash-based and code-based families, the three NIST standards published in August 2024, the algorithms still in progress, and the key, ciphertext and signature sizes taken directly from the FIPS texts. It also sets out what the UK NCSC, Germany's BSI and France's ANSSI say about parameter sets and hybrid deployment, because their positions differ. It is written for cryptography engineers and architects deciding which algorithm and parameter set goes where. Standards status was checked on 26 November 2026; it changes, so confirm against NIST before you commit.
Key takeaways
- Three algorithms are final standards. ML-KEM (FIPS 203) for key establishment, and ML-DSA (FIPS 204) and SLH-DSA (FIPS 205) for signatures, all published by NIST in August 2024.
- Two more are on the way. FN-DSA (based on Falcon) is being standardised as FIPS 206, and HQC was selected on 11 March 2025 as a code-based backup KEM, with NIST expecting to finalise its standard in 2027.
- Sizes jump by one to two orders of magnitude. An ML-KEM-768 encapsulation key is 1,184 bytes and an ML-DSA-65 signature is 3,309 bytes; SLH-DSA signatures run from 7,856 to 49,856 bytes.
- Diversity of maths is the reason for the backups. ML-KEM and ML-DSA both rest on structured lattices; SLH-DSA (hashes) and HQC (error-correcting codes) exist so a lattice break is not fatal.
- Agencies agree on algorithms, not on hybrids. ANSSI requires hybridation in end products except for hash-based signatures; the NCSC treats hybrids as an interim measure and prefers a single move to post-quantum PKI.
Algorithm families
Every post-quantum scheme rests on a mathematical problem believed to be hard for both classical and quantum computers. The family determines the performance profile and the kind of risk you carry.
| Family | Hard problem | Algorithms | Typical profile | Main risk |
|---|---|---|---|---|
| Structured lattices (module lattices) | Module learning with errors, and related problems | ML-KEM, ML-DSA | Fast, balanced keys and outputs in the low kilobytes | Relatively young assumptions; a structural break would affect both primary standards at once |
| Structured lattices (NTRU) | Short vectors in NTRU lattices | FN-DSA (Falcon) | Compact signatures, complex signing using floating point arithmetic | Hard to implement in constant time; side channels |
| Stateless hash-based | Security of the underlying hash function | SLH-DSA (SPHINCS+) | Tiny public keys, large signatures, slow signing | Most conservative assumption; cost is size and speed |
| Stateful hash-based | Security of the hash function | LMS, XMSS (NIST SP 800-208) | Small signatures, limited number of signatures per key | Reusing a one-time key state breaks security |
| Code-based | Decoding random linear codes | HQC; Classic McEliece (not a NIST selection) | HQC: larger and slower than ML-KEM. Classic McEliece: very large public keys | Bandwidth and compute cost; see the BSI note on Classic McEliece below |
The structural difference between a KEM and a signature, and why the two migrate on different schedules, is covered in Post Quantum KEMs vs Signatures.
Standardised algorithms (ML-KEM, ML-DSA, SLH-DSA)
ML-KEM (FIPS 203)
The Module-Lattice-Based Key-Encapsulation Mechanism, derived from CRYSTALS-Kyber. Three parameter sets: ML-KEM-512 (security category 1), ML-KEM-768 (category 3) and ML-KEM-1024 (category 5). All produce a 32-byte shared secret. FIPS 203 Table 2 sets the required random bit generator strength at 128, 192 and 256 bits respectively. ML-KEM is the general-purpose choice for key establishment in TLS, SSH, VPNs and messaging. Parameter choice and implementation rules are in the ML-KEM Guide.
ML-DSA (FIPS 204)
The Module-Lattice-Based Digital Signature Algorithm, derived from CRYSTALS-Dilithium. Parameter sets ML-DSA-44 (category 2), ML-DSA-65 (category 3) and ML-DSA-87 (category 5). It is the general-purpose signature for certificates, code signing, tokens and protocol authentication, with fast signing and verification.
SLH-DSA (FIPS 205)
The Stateless Hash-Based Digital Signature Algorithm, derived from SPHINCS+. Twelve parameter sets: SHA2 and SHAKE variants at three security levels (128, 192, 256), each in a "s" (small signature, slower signing) and "f" (fast signing, larger signature) form. Its security rests only on hash functions, which makes it the conservative choice for long-lived roots of trust and firmware signing where size and signing speed matter less. Deeper detail on both signature standards is in the ML-DSA and SLH-DSA Post-Quantum Signatures Guide.
Algorithms in progress (FN-DSA, HQC)
| Algorithm | Type | Family | Status (checked 26 November 2026) | Why it exists |
|---|---|---|---|---|
| ML-KEM | KEM | Module lattice | Final, FIPS 203, August 2024 | Primary key establishment |
| ML-DSA | Signature | Module lattice | Final, FIPS 204, August 2024 | Primary signature |
| SLH-DSA | Signature | Hash-based, stateless | Final, FIPS 205, August 2024 | Conservative backup signature |
| LMS, XMSS | Signature | Hash-based, stateful | Approved, NIST SP 800-208 | Firmware and software signing where state can be managed |
| FN-DSA (Falcon) | Signature | NTRU lattice | Being standardised as FIPS 206; NIST presented FIPS 206 at its Sixth PQC Standardization Conference in September 2025 | Compact signatures where bandwidth is tight |
| HQC | KEM | Code-based | Selected 11 March 2025; NIST planned a draft about a year later and expects a final standard in 2027 | Backup to ML-KEM on different maths |
| Additional signatures | Signature | Various | NIST "onramp" process, ongoing | Diversify beyond lattices for signatures |
- FN-DSA: NIST selected Falcon for standardisation in 2022. Its attraction is much smaller signatures than ML-DSA, which matters for certificate chains and constrained links. Its drawback, noted by ANSSI, is that implementation is difficult and side-channel countermeasures are hard to apply. Do not plan production use until FIPS 206 is final and validated modules exist.
- HQC: NIST describes HQC as a backup to ML-KEM, built on error-correcting codes rather than lattices, and states it is not meant to replace ML-KEM, which remains the recommended choice. HQC needs more computing resources.
- Classic McEliece and FrodoKEM: not NIST selections, but referenced by European agencies. ANSSI lists FrodoKEM as a conservative KEM for high-security uses where its cost is acceptable. BSI's TR-02102 page carries a 2026 advisory that Classic McEliece should no longer be used for new developments while recent cryptanalysis is evaluated, although it states that no practical attack on its recommended parameter sets exists.
Timelines for retiring RSA and elliptic curve algorithms are in the NIST IR 8547 PQC Transition Timeline Guide.
Size and performance comparison
All post-quantum figures below are in bytes and are taken from the FIPS texts: FIPS 203 Table 3, FIPS 204 Table 2 and FIPS 205 Table 2. SLH-DSA SHA2 and SHAKE variants have identical sizes at each level. Classical rows are shown for scale.
Key establishment
| Algorithm | Security category | Public (encapsulation) key | Private (decapsulation) key | Ciphertext | Shared secret |
|---|---|---|---|---|---|
| ML-KEM-512 | 1 | 800 | 1,632 | 768 | 32 |
| ML-KEM-768 | 3 | 1,184 | 2,400 | 1,088 | 32 |
| ML-KEM-1024 | 5 | 1,568 | 3,168 | 1,568 | 32 |
| X25519 (classical, for scale) | Not quantum resistant | 32 | 32 | 32 (peer public key) | 32 |
Signatures
| Algorithm | Security category | Public key | Private key | Signature |
|---|---|---|---|---|
| ML-DSA-44 | 2 | 1,312 | 2,560 | 2,420 |
| ML-DSA-65 | 3 | 1,952 | 4,032 | 3,309 |
| ML-DSA-87 | 5 | 2,592 | 4,896 | 4,627 |
| SLH-DSA-128s | 1 | 32 | 64 | 7,856 |
| SLH-DSA-128f | 1 | 32 | 64 | 17,088 |
| SLH-DSA-192s | 3 | 48 | 96 | 16,224 |
| SLH-DSA-192f | 3 | 48 | 96 | 35,664 |
| SLH-DSA-256s | 5 | 64 | 128 | 29,792 |
| SLH-DSA-256f | 5 | 64 | 128 | 49,856 |
SLH-DSA private keys are 4n bytes (n = 16, 24 or 32), twice the public key size.
What the numbers mean in practice:
- TLS handshakes: a hybrid X25519 plus ML-KEM-768 key share adds roughly 1.2 KB to the ClientHello and about 1.1 KB to the server response. That can push the ClientHello past a single packet and has exposed middleboxes that mishandle larger handshakes. See the Hybrid Post-Quantum TLS Key Exchange Guide.
- Certificate chains: a chain carries one public key and one signature per certificate, plus OCSP or SCT signatures. With ML-DSA-65, each certificate adds around 5 KB over ECDSA; with SLH-DSA it can be tens of kilobytes. This is the main argument for FN-DSA once it is final.
- Constrained devices and protocols: IKEv2 initial exchanges, DNSSEC responses, smart cards and IoT radios have hard size ceilings. See Post-Quantum Readiness for VPNs and IKEv2 Guide.
- Speed: ML-KEM and ML-DSA are generally fast enough to be competitive with classical algorithms in software. SLH-DSA signing is slow, which is acceptable for a firmware release signed once and verified many times, and unacceptable for a TLS server signing every handshake.
Choosing for your use case
National agency positions
| Agency | Default recommendation | Hybrid position | Notable points |
|---|---|---|---|
| ANSSI (France), follow-up position paper, December 2023 | ML-KEM and ML-DSA, preferably level 5 or level 3; FrodoKEM as conservative KEM; FN-DSA preferably level 5 | Hybridation required in end products, optional only where protection relies solely on hash-based signatures (XMSS, LMS, SLH-DSA) | Symmetric parameters at AES-256 and SHA2-384; KDF-based parallel combiner or cascade for KEMs; concatenated signatures that must all verify |
| BSI (Germany), TR-02102 version 2026-01 | Hybrid TLS 1.3 groups SecP256r1MLKEM768 and SecP384r1MLKEM1024 usable in a TR-compliant way; X25519MLKEM768 also usable | Hybrid key agreement is the form BSI lists for TLS | 2026 advisory: Classic McEliece should no longer be used for new developments |
| NCSC (UK), March 2025 | ML-KEM-768 and ML-DSA-65 for most use cases; all parameter sets acceptable up to OFFICIAL | Hybrids add cost and complexity; if used, treat as interim with a path to PQC-only. For PKI, prefers a single move to fully post-quantum PKI over a hybrid PKI | SLH-DSA for niche uses such as firmware signing; LMS and XMSS only where state can be managed for the key's lifetime. Migration milestones 2028, 2031 and 2035 |
Decision guidance
- General key establishment (TLS, SSH, VPN): ML-KEM-768 in a hybrid with X25519 or an ECDH curve is today's interoperable default and satisfies all three agencies' positions for key exchange. Choose ML-KEM-1024 where ANSSI level 5 preference or a long data-confidentiality horizon applies.
- General signatures (certificates, tokens, code signing services): ML-DSA-65 is the NCSC default; ML-DSA-87 for long-lived keys and roots. For organisations under ANSSI evaluation, plan for hybrid (composite) signatures.
- Roots of trust and firmware: SLH-DSA-s variants or LMS/XMSS where the signing state can be protected, because the hash-based assumption is the most conservative and signing volume is low.
- Bandwidth-critical signatures: wait for FIPS 206 and validated FN-DSA implementations rather than shipping draft code.
- Algorithm diversity: if a lattice break is in your threat model for decades-long secrets, keep the ability to add HQC once it is standardised, and do not hard-code ML-KEM as the only KEM. See Crypto-Agility vs Post-Quantum Cryptography.
- Small vs large organisations: smaller organisations will mostly inherit choices from browsers, cloud providers and libraries; their job is inventory and supplier pressure. Large organisations running their own PKI, HSMs and protocols need an explicit parameter set policy per use case.
Where identity fits
Machine identities carry most of the signature migration: workload certificates, mTLS between services, signed tokens and code signing keys. Their certificates are reissued far more often than human ones, so ML-DSA sizes multiply across service meshes and token traffic. See the Post-Quantum Migration for NHIs Guide.
Measuring progress
- Hybrid key exchange share: percentage of TLS connections, internal and external, negotiating an ML-KEM hybrid group (from load balancer and proxy logs).
- Inventory coverage: share of systems in the cryptographic inventory with algorithm and parameter set recorded.
- Handshake failures: error rate change after enabling hybrid groups, to catch middlebox and fragmentation problems.
- Parameter set compliance: number of deployments using sets outside your policy (for example ML-KEM-512 where policy requires 768).
Common failure patterns
- Shipping pre-standard code: using round 3 CRYSTALS-Kyber implementations, which FIPS 203 Appendix C says behave differently from final ML-KEM (for example in shared secret derivation).
- Ignoring size budgets: enabling post-quantum signatures without testing certificate chain size against constrained clients and protocol limits.
- Hard-coding one algorithm: no path to add HQC or swap parameter sets without a code release.
- Mismanaged state: deploying LMS or XMSS where key state can be cloned (VM snapshots, backups restored onto a signer), reusing one-time keys.
- Weak symmetric companions: upgrading the KEM to level 5 while leaving AES-128 or SHA-256 where ANSSI and others expect stronger symmetric parameters.
Practitioner checklist
- Record algorithm and parameter set for every cryptographic use in your inventory, not just "RSA" or "ECC".
- Adopt a parameter set policy: default ML-KEM-768 and ML-DSA-65, with named exceptions for level 5 and for constrained devices.
- Enable hybrid ML-KEM key exchange where your TLS stack, load balancers and CDN support it, and monitor handshake failures.
- Test certificate chain and token sizes with ML-DSA against your most constrained clients and protocols.
- Use SLH-DSA or stateful hash-based signatures for firmware and root keys, with state protection for LMS and XMSS.
- Require FIPS 203, 204 and 205 conformant implementations, and validated modules where you must, from suppliers.
- Check which agency positions apply to you (ANSSI evaluation, BSI TR-compliance, NCSC guidance) and document the hybrid decision.
- Track FIPS 206 and the HQC standard and keep the architecture able to add them.
Standards and references
- NIST: FIPS 203, Module-Lattice-Based Key-Encapsulation Mechanism Standard
- NIST: FIPS 204, Module-Lattice-Based Digital Signature Standard
- NIST: FIPS 205, Stateless Hash-Based Digital Signature Standard
- NIST: NIST Selects HQC as Fifth Algorithm for Post-Quantum Encryption
- NCSC: Next steps in preparing for post-quantum cryptography
- NCSC: Timelines for migration to post-quantum cryptography
- ANSSI: Follow-up position paper on post-quantum cryptography
- BSI: Technical Guideline TR-02102 Cryptographic Mechanisms
Related NHI Mgmt Group resources: Post-Quantum Cryptography Migration Guide · ML-KEM Guide · ML-DSA and SLH-DSA Post-Quantum Signatures Guide · Hybrid Post-Quantum TLS Key Exchange Guide · Cloud Provider Post-Quantum Support Tracker