Algorithms

ML-KEM vs ML-DSA vs SLH-DSA

NIST’s three published post-quantum algorithms do different jobs. ML-KEM agrees keys; ML-DSA and SLH-DSA sign. Here is how they compare and where each one fits.

Updated 23 November 2026 · 5 min read

The short answer

All three are published NIST standards; our guide to NIST’s post-quantum standards covers the dates for retiring the algorithms they replace.

So ML-KEM is not an alternative to the other two; most systems need one key-establishment method and one signature method. The real choice is between ML-DSA and SLH-DSA for signatures.

Side by side

ML-KEMML-DSASLH-DSA
StandardFIPS 203FIPS 204FIPS 205
Used forKey establishmentDigital signaturesDigital signatures
ReplacesRSA key transport, Diffie-Hellman, ECDHRSA, ECDSA, EdDSA signaturesRSA, ECDSA, EdDSA signatures
Based onModule latticesModule latticesHash functions only
Parameter setsML-KEM-512, -768, -1024ML-DSA-44, -65, -8712 sets: SHA-2 or SHAKE, at 128, 192 or 256-bit security, each “s” (small) or “f” (fast)
Example sizesML-KEM-768: public key 1,184 bytes, ciphertext 1,088 bytesML-DSA-65: public key 1,952 bytes, signature 3,309 bytesSLH-DSA-SHA2-128s: public key 32 bytes, signature 7,856 bytes
StrengthsFast, compact; NIST’s default is ML-KEM-768Fast signing and verifying; good general-purpose choiceRelies only on well-studied hash functions
Trade-offsLarger than the elliptic-curve keys it replacesSignatures much larger than ECDSA’sLarge signatures and slow signing

Sizes are from the parameter tables in each FIPS. Larger keys and signatures matter on constrained devices and in protocols with tight message limits, so test before you switch.

Which to use where

Use caseTypical choice
TLS, VPN and other key exchangeML-KEM, often as a hybrid with a classical method during the transition (for example X25519 with ML-KEM-768)
Certificates and authenticationML-DSA
Code and document signingML-DSA for most uses; SLH-DSA where the most conservative assurance matters
Long-lived roots of trust and firmwareSLH-DSA, or the stateful hash-based LMS and XMSS (NIST SP 800-208), which the NSA requires for firmware signing in national security systems
US national security systemsThe NSA’s CNSA 2.0 sets the strongest settings: ML-KEM-1024 and ML-DSA-87

What about FN-DSA and HQC?

Two more algorithms are on the way. FN-DSA, based on FALCON, will be a lattice signature with smaller signatures than ML-DSA. HQC will be a backup to ML-KEM built on different mathematics. NIST lists both as standards still in development, so plan around ML-KEM, ML-DSA and SLH-DSA today.

Checking your own systems

Knowing the algorithms is the first step. The next is finding where your systems use quantum-vulnerable cryptography today, which rules and dates apply to each, and which of these replacements fits. That is what a PQC readiness assessment does.

Sources