By Bonaventure Ogeto · Published · Last verified:

NIST Post-Quantum Standards Explained: ML-KEM, ML-DSA, SLH-DSA, FN-DSA and HQC

The short answer

NIST has three approved post-quantum standards[1]: ML-KEM (FIPS 203) for agreeing keys, and ML-DSA (FIPS 204) and SLH-DSA (FIPS 205) for signatures, all published on 13 August 2024[2]. FN-DSA and HQC are not yet published. For most systems, start with ML-KEM-768, NIST's recommended default[3], alongside today's key exchange.

Source: Mctaba Labs, “NIST Post-Quantum Standards Explained: ML-KEM, ML-DSA, SLH-DSA, FN-DSA and HQC”, last verified 4 December 2026, mctaba.com/learn/cryptography/nist-post-quantum-standards-ml-kem-ml-dsa

At a glance

  • ML-KEM sets up a shared secret key between two parties; ML-DSA and SLH-DSA sign data, so anyone can check who sent it and that nobody changed it.
  • Keys and signatures grow: an ML-DSA-65 signature is 3,309 bytes[4], where an RSA-2048 signature is 256 bytes[5].
  • FN-DSA, the Falcon-based signature, will be FIPS 206, not yet published[2]; HQC, a backup key mechanism built on different maths, was selected on 11 March 2025[2].
  • HAWK, a signature candidate from a separate NIST process, is gone: NIST's page says its team has withdrawn it[6]. It was never a standard.
  • Anthropic's lattice papers of 30 November 2026[7] did not change the core advice: the reviewing cryptographers recommended continuing the transition[8].

What are the NIST post-quantum standards?

Post-quantum cryptography means public-key algorithms built to survive a large quantum computer, the kind that could one day break RSA and elliptic-curve cryptography (how that attack would work). NIST, the US standards body, ran an open competition from December 2016[9], starting with 82 submissions[10], and turned the winners into Federal Information Processing Standards (FIPS). New to the topic? Start with what post-quantum cryptography is or the series hub.

The full set, as NIST's project page described it on 2 December 2026[2], with sizes in bytes from the smallest parameter set to the largest:

StandardOld nameWhat it doesMaths it rests onPublic keyCiphertext or signatureStatus
ML-KEM (FIPS 203)CRYSTALS-KyberKey encapsulation: agrees a shared secretModule Learning With Errors (lattices)[11]800[11] to 1,568[11]768[11] to 1,568[11]Final, 13 August 2024[11]
ML-DSA (FIPS 204)CRYSTALS-DilithiumDigital signaturesModule Learning With Errors (lattices)[4]1,312 to 2,592[4]2,420 to 4,627[4]Final, 13 August 2024[4]
SLH-DSA (FIPS 205)SPHINCS+Digital signaturesHash functions[12]32[12] to 64[12]7,856[12] to 49,856[12]Final, 13 August 2024[12]
FN-DSA (FIPS 206)FalconDigital signaturesShort integer solution over NTRU lattices[5]897 to 1,793[13]666 to 1,280[13]Not yet published (in development)[2]
HQCHQCKey encapsulation, a backup to ML-KEMError-correcting codes[14]2,249 to 7,245[14]4,497 to 14,485[14]Not yet published (under development)[3]

For the two key mechanisms, the public key is called the encapsulation key. The FN-DSA and HQC figures come from the Falcon specification v1.2[13] and NIST's round-four report, NIST IR 8545[14], because neither standard is out yet, so the final numbers could differ. Of the first algorithms selected, three rest on structured lattices and the fourth on hash functions[15]; lattice cryptography explained without the heavy maths shows what that means.

What is the difference between a KEM and a signature?

A key-encapsulation mechanism (KEM) sets up a secret. NIST defines it as “a set of algorithms that can be used by two parties under certain conditions to securely establish a shared secret key over a public channel”[16], and that key then feeds fast symmetric encryption such as AES. One side publishes an encapsulation key; the other uses it to wrap a fresh random secret into a ciphertext; only the holder of the matching decapsulation key can unwrap it. ML-KEM and HQC are KEMs. They take over the job RSA key transport and Diffie-Hellman or elliptic-curve key exchange do today.

A digital signature proves who sent something and that nobody changed it on the way. NIST describes signatures as “used to detect unauthorized modifications to data and to authenticate the identity of the signatory”[17]. ML-DSA, SLH-DSA and the coming FN-DSA are signature schemes. They replace RSA, ECDSA and EdDSA signatures in certificates, software updates and logins.

The split decides the order of work. Harvest now, decrypt later is the threat of recording encrypted traffic today and decrypting it once quantum computers mature, and NIST IR 8547 calls it “one of the main reasons why the transition to post-quantum cryptography is urgent”[3]. The same report says signatures are not vulnerable to that attack[3], although moving them is still urgent because it takes longer and needs more parties to coordinate. So key exchange goes first. Harvest now, decrypt later explains the threat for business readers.

During the move, the common pattern is a hybrid: an old and a new key exchange together. NIST IR 8547 defines a hybrid mode as a combination of two or more schemes, built so that “derived keys remain secure if at least one of the component schemes is secure”[3]. Browsers and libraries pair X25519 with ML-KEM-768 in a TLS group called X25519MLKEM768[18], and breaking such a hybrid requires breaking both[19] algorithms.

What do NIST's security categories mean?

NIST grades every parameter set by comparing it with an attack on a familiar symmetric primitive (NIST IR 8547, Table 1[3]). Categories 1, 3 and 5[3] are as hard as key search on AES-128, AES-192 and AES-256; categories 2 and 4 are as hard as collision search on SHA-256 and SHA3-384[3]. A higher category buys a bigger safety margin with bigger, slower keys.

  • ML-KEM-512, ML-KEM-768 and ML-KEM-1024 sit in categories 1, 3 and 5[11].
  • ML-DSA-44, ML-DSA-65 and ML-DSA-87 sit in categories 2, 3 and 5[4]. ML-DSA-44 drops to category 1 if its random bit generator offers under 192 bits of security[3].
  • SLH-DSA has 12 parameter sets[12]; each name gives the hash family (SHA2 or SHAKE), the security level, and s for small signatures or f for fast signing.
  • Falcon-512 and Falcon-1024 target Level I and Level V[13]; hqc-128, hqc-192 and hqc-256 target levels I, III and V[14].

Which parameter set should I use by default?

NIST IR 8547 says ML-KEM is the only approved post-quantum key-establishment scheme[3] for now and recommends ML-KEM-768 as the default, because it gives “a large security margin at a reasonable performance cost”[3].

The UK's National Cyber Security Centre (NCSC) recommends ML-KEM-768 and ML-DSA-65[20] for most use cases. At the top end, the NSA's CNSA 2.0 suite for US national security systems uses ML-KEM-1024 and ML-DSA-87[21]. And the Cryptography Incident Review Group (CIRG), which assessed Anthropic's November lattice papers, recommended that adopters “choose the highest security level each application can support”[8].

The verdict:

  • Key exchange: ML-KEM-768 is the default. Where the extra bytes are affordable, or where data must stay secret for decades, use ML-KEM-1024. Use ML-KEM-512 only on devices that cannot carry more.
  • Signatures: ML-DSA-65 for most systems, ML-DSA-87 where size allows.
  • Hash-only security: choose SLH-DSA when you want a scheme that rests only on hash functions and can afford large signatures, for example keys that sign firmware or other rarely changed artefacts. NIST has drafted SP 800-230[9], extra SLH-DSA parameter sets for limited signature use cases, published for comment on 13 April 2026[9].

Where do FN-DSA and HQC stand?

FN-DSA. NIST is still developing a FIPS for a signature algorithm derived from FALCON[3], which will be FIPS 206. Its project page still listed it as in development on 2 December 2026[2], so it is not yet published.

Falcon's draw is size. Falcon-512 has an 897-byte public key and a 666-byte signature[13], and its designers call it roughly equivalent to RSA-2048[5] in classical security. ML-DSA-44's signature, by contrast, is 2,420 bytes[4]. Its maths is a lattice problem too: the short integer solution problem over NTRU lattices[5]. NIST flags special challenges relating to floating point[22]: FN-DSA signing uses floating-point arithmetic, while verification does not.

HQC. HQC is the backup key mechanism. NIST selected it on 11 March 2025[2] after a fourth round that tested KEMs built on assumptions very different from ML-KEM's[14], so that one breakthrough could not leave the world without a key-establishment standard. NIST IR 8545 says HQC is based on a different underlying security problem[14] and still performs reasonably.

The cost is size: hqc-128 has a 2,249-byte encapsulation key and a 4,497-byte ciphertext[14], where ML-KEM-512 needs 800 and 768 bytes[11]. NIST said in March 2025[14] that it would publish a draft and then a final standard in approximately two years. In October 2026, NIST IR 8547 said a FIPS for HQC-KEM was under development[3], that HQC becomes an approved scheme once published, and that NIST has “no current plans to select any additional KEMs”[3].

The CIRG has since strongly recommended[8] that NIST and other bodies prioritise standardising more public-key systems built on diverse designs, even at some cost in efficiency.

What happened to HAWK?

HAWK, a lattice-based scheme, was one of the remaining third-round candidates[23] in a separate NIST process for additional signatures, after NIST IR 8610 advanced nine candidates on 14 May 2026[1].

On 28 July 2026[23] Anthropic reported that its researchers, using Claude Mythos Preview, had found an attack that significantly weakens HAWK. Anthropic said the attack is still exponential but means HAWK keys would need to double in size[23] for the same security, which removes much of its appeal. It also said the attack is specific to HAWK[23] and does not affect other NIST signature candidates or lattice-based cryptography in general.

NIST's third-round page now says “The submission team has withdrawn HAWK”[6] from the process. NIST gives no date or reason. Nothing you run changes, because HAWK was only a candidate and was not deployed[23]. This is what an open process is for: candidates face attack before anyone depends on them.

Did Anthropic's lattice papers weaken these standards?

Not in practice. On 30 November 2026 Anthropic released four theoretical papers on lattice cryptography[7]. The main result is a quantum algorithm that is asymptotically faster[7] on some of the maths behind ML-KEM and ML-DSA, but only for key sizes much larger than the ones in use. The CIRG found that against the real standards the attack “requires vastly more computation than the best previously known attacks”[8], and the NCSC said the work “does not represent a threat to the standardised and deployed lattice-based post-quantum cryptography algorithms ML-KEM and ML-DSA”[24]. AI and cryptanalysis: what Anthropic found covers what the papers do change.

For developers: how big are the keys, and what changes in my code?

Sizes bite first. The Falcon team puts an RSA-2048 signature and public key at 256 bytes each[5]; every post-quantum signature below is larger. All sizes are in bytes.

Parameter setCategoryPublic keyPrivate keyCiphertext or signature
ML-KEM-5121[11]800[11]1,632[11]768[11]
ML-KEM-7683[11]1,184[11]2,400[11]1,088[11]
ML-KEM-10245[11]1,568[11]3,168[11]1,568[11]
ML-DSA-442[4]1,312[4]2,560[4]2,420[4]
ML-DSA-653[4]1,952[4]4,032[4]3,309[4]
ML-DSA-875[4]2,592[4]4,896[4]4,627[4]
SLH-DSA-SHAKE-128s1[12]32[12]Twice the public key7,856[12]
SLH-DSA-SHAKE-128f1[12]32[12]Twice the public key17,088[12]
SLH-DSA-SHAKE-192s3[12]48[12]Twice the public key16,224[12]
SLH-DSA-SHAKE-192f3[12]48[12]Twice the public key35,664[12]
SLH-DSA-SHAKE-256s5[12]64[12]Twice the public key29,792[12]
SLH-DSA-SHAKE-256f5[12]64[12]Twice the public key49,856[12]

The SHA2 versions of SLH-DSA have the same sizes as the SHAKE versions shown, and FIPS 205 fixes the private key at 4n bytes against a 2n-byte public key[12]. Every ML-KEM set produces a 32-byte shared secret[11], the size of an AES-256 key.

You will rarely implement these yourself. Mainstream libraries and browsers already ship them:

Library or productPost-quantum support
OpenSSL 3.5.0, released 8 April 2025[25]ML-KEM, ML-DSA and SLH-DSA; offers X25519MLKEM768 by default in TLS[25]
Go 1.24ML-KEM-768 and ML-KEM-1024 in crypto/mlkem[26]; X25519MLKEM768 on by default in crypto/tls[26]
Java, JDK 24ML-KEM[27] and ML-DSA[27]
BoringSSLML-KEM[18]
Apple CryptoKitA formally verified ML-KEM[19]
Chrome 131 and Firefox 132Hybrid ML-KEM key exchange in TLS (Chrome[18], Firefox[28])

What to check in your own systems:

  • Storage and payloads. A database column, JWT, cookie or QR code sized for an RSA-2048 signature will not hold an ML-DSA signature. Audit the limits before you switch.
  • TLS handshakes. With X25519MLKEM768, defined in RFC 10024 (August 2026)[29], the client sends a 1,216-byte key share and the server returns 1,120 bytes[29]. That makes the ClientHello exceed a single packet[30], and buggy servers reject the connection instead of falling back[30] to classical cryptography. The tldr.fail project suggests testing from Chrome 131 or newer on desktop[30]. How to enable post-quantum TLS covers the server side.
  • Draft code. FIPS 203 is a variant of CRYSTALS-Kyber[11], and ML-DSA comes from version 3.1 of CRYSTALS-Dilithium[4], so code written against a draft may not interoperate with the standard. Prefer libraries that name FIPS 203 and FIPS 204.
  • Never your own implementation. KyberSlash showed why: several Kyber libraries leaked secrets through division timings[31], and maintainers swiftly patched[32] them after disclosure. NIST's SP 800-227[16], Recommendations for Key-Encapsulation Mechanisms, final since 18 September 2025[16], covers using a KEM safely inside a protocol.

Because ML-KEM and ML-DSA lengths are fixed, you can reject malformed input at the edge, before it reaches the crypto library:

pq-lengths.ts
// Byte lengths from FIPS 203 (Table 3) and FIPS 204 (Table 2).
const LENGTHS = {
  'ML-KEM-768': { encapsulationKey: 1184, ciphertext: 1088 },
  'ML-DSA-65': { publicKey: 1952, signature: 3309 },
} as const;

type Alg = keyof typeof LENGTHS;

export function checkLength(alg: Alg, field: string, bytes: Uint8Array): void {
  const want = (LENGTHS[alg] as Record<string, number>)[field];
  if (want === undefined) throw new Error(`${alg} has no field called ${field}`);
  if (bytes.length !== want) throw new Error(`${alg} ${field}: expected ${want} bytes, got ${bytes.length}`);
}

Frequently asked questions

Is ML-KEM the same as Kyber?
Not exactly. FIPS 203 specifies a variant of CRYSTALS-Kyber[11] and names it ML-KEM after the Module Learning With Errors assumption it rests on. Use a library that implements the final FIPS 203 version, not an older Kyber draft.
What does ML stand for in ML-KEM and ML-DSA?
Module-lattice, from the standards' titles: FIPS 203 is the Module-Lattice-Based Key-Encapsulation Mechanism Standard[17] and FIPS 204 is the Module-Lattice-Based Digital Signature Standard[17]. FIPS 203 also ties the name to the Module Learning With Errors problem[11] behind both. SLH-DSA, from FIPS 205, is the Stateless Hash-Based Digital Signature Standard.
Which NIST post-quantum algorithm should I deploy first?
ML-KEM for key exchange, run as a hybrid with the exchange you use today, because recorded traffic is exposed to harvest now, decrypt later and signatures are not. NIST recommends ML-KEM-768 as the default[3].
Is FN-DSA a NIST standard yet?
No. NIST's project page still described FIPS 206 as in development on 2 December 2026[2]. Use ML-DSA or SLH-DSA for post-quantum signatures today and keep your code ready to add FN-DSA later.
Are ML-KEM and ML-DSA still safe after Anthropic's lattice papers?
Yes, as far as anyone has shown. Anthropic wrote that its algorithms are “not practical for the parameter sets of ML-KEM and ML-DSA”[33], and the CIRG recommended continuing the transition[8]. Hybrid modes guard against a classical break of ML-KEM. Against an improved quantum attack the protection is agility and, in time, standards built on different maths, which the CIRG asked NIST to prioritise[8].

Sources

  1. [1] NIST CSRC, 13 August 2024, checked 4 December 2026
  2. [2] NIST CSRC, 2 December 2026, checked 4 December 2026
  3. [3] NIST, October 2026, checked 4 December 2026
  4. [4] NIST, 13 August 2024, checked 4 December 2026
  5. [5] Falcon team (falcon-sign.info), checked 4 December 2026
  6. [6] NIST, 13 October 2026, checked 4 December 2026
  7. [7] Anthropic (X post), 30 November 2026, checked 4 December 2026
  8. [8] Cryptography Incident Review Group, 30 November 2026, checked 4 December 2026
  9. [9] NIST CSRC, 2 December 2026, checked 4 December 2026
  10. [10] NIST, January 2019, checked 4 December 2026
  11. [11] NIST, 13 August 2024, checked 4 December 2026
  12. [12] NIST, 13 August 2024, checked 4 December 2026
  13. [13] Falcon submission team, 1 October 2020, checked 4 December 2026
  14. [14] NIST, March 2025, checked 4 December 2026
  15. [15] NIST, 27 February 2026, checked 4 December 2026
  16. [16] NIST CSRC, September 2025, checked 4 December 2026
  17. [17] NIST CSRC, 13 August 2024, checked 4 December 2026
  18. [18] Google (Online Security Blog), 13 September 2024, checked 4 December 2026
  19. [19] Apple Developer, June 2025, checked 4 December 2026
  20. [20] UK National Cyber Security Centre (NCSC), 14 August 2024, checked 4 December 2026
  21. [21] US National Security Agency (NSA), 7 September 2022, checked 4 December 2026
  22. [22] NIST CSRC, 25 September 2025, checked 4 December 2026
  23. [23] Anthropic, 28 July 2026, checked 4 December 2026
  24. [24] UK National Cyber Security Centre, 1 December 2026, checked 4 December 2026
  25. [25] OpenSSL Library, 8 April 2025, checked 4 December 2026
  26. [26] The Go Project, 11 February 2025, checked 4 December 2026
  27. [27] Oracle (Java SE documentation), March 2025, checked 4 December 2026
  28. [28] Mozilla, 29 October 2024, checked 4 December 2026
  29. [29] RFC Editor (IETF), August 2026, checked 4 December 2026
  30. [30] tldr.fail, checked 4 December 2026
  31. [31] KyberSlash team (Bernstein et al.), 24 June 2024, checked 4 December 2026
  32. [32] KyberSlash team (Bernstein et al.), 15 January 2025, checked 4 December 2026
  33. [33] Anthropic (GitHub, anthropics/formal-math), 30 November 2026, checked 4 December 2026

Related guides