SLH-DSA
Stateless hash-based signatures standardised in FIPS 205, relying only on hash functions
Overview
SLH-DSA is the Stateless Hash-Based Digital Signature Algorithm standardised by NIST in FIPS 205, derived from SPHINCS+. Its security depends only on properties of the underlying hash function, making it the most conservative of the NIST post-quantum signatures.
SLH-DSA combines three hash-based building blocks. WOTS+ one-time signatures sign the roots of Merkle trees; these trees are stacked into a hypertree whose top root is the public key; and at the bottom a FORS few-time signature signs a digest of the message. The leaf used for each signature is chosen pseudorandomly from the message, so no state needs to be stored between signatures, unlike LMS or XMSS.
Because it relies only on second-preimage and related properties of SHA-2 or SHAKE, SLH-DSA is a hedge against unexpected advances in the cryptanalysis of lattices. The cost is size and speed: signatures range from about 7.9 KB to 49.9 KB, and signing is much slower than ML-DSA, although public keys are tiny at 32 to 64 bytes. Verification is fast in all cases.
Twelve parameter sets are present, covering SHA-2 and SHAKE instantiations at security categories 1, 3 and 5 (128, 192, 256). The s variants produce smaller signatures with slower signing; the f variants sign faster with larger signatures. Public keys consist of a 16-, 24- or 32-byte public seed plus a tree root of the same length, and FIPS 205 also defines a pre-hash variant, HashSLH-DSA.
History
2016–2025NIST calls for post-quantum KEMs and signatures
NIST Post-Quantum Cryptography standardisationSPHINCS+ submitted to NIST PQC
26 candidates advance to round 2
NIST Post-Quantum Cryptography standardisationRound 3 finalists and alternates announced
NIST Post-Quantum Cryptography standardisationSPHINCS+ selected by NIST
SLH-DSA published as FIPS 205
HQC selected as a second KEM
NIST Post-Quantum Cryptography standardisation
How it works
- KeyGen derives a hypertree of Merkle trees from secret seeds; the public key is the top root plus a public seed.
- Sign computes a randomised message digest that selects a FORS instance and a leaf path in the hypertree.
- The FORS signature covers the digest, and WOTS+ signatures authenticate each tree root up to the top.
- Verify recomputes the chain of roots from the signature and compares with the public key.
Security notes
SLH-DSA has the most conservative security assumption of the NIST signatures. Large signatures and slow signing limit its use in latency-sensitive protocols; fault attacks on signing can leak one-time key material, so hardened implementations matter in hostile environments.
Typical uses
Variants in NextSSL
12| Algorithm | Tier | Sizes (bytes) | Standards | API |
|---|---|---|---|---|
| SLH-DSA-SHA-2-128f slh-dsa-sha2-128f |
safe FIPS | pk 32 · sk 64 · sig 17088 · seed 48 · ctx 0–255 | FIPS 205 | safe |
| SLH-DSA-SHA-2-128s slh-dsa-sha2-128s |
safe FIPS | pk 32 · sk 64 · sig 7856 · seed 48 · ctx 0–255 | FIPS 205 | safe |
| SLH-DSA-SHA-2-192f slh-dsa-sha2-192f |
safe FIPS | pk 48 · sk 96 · sig 35664 · seed 72 · ctx 0–255 | FIPS 205 | safe |
| SLH-DSA-SHA-2-192s slh-dsa-sha2-192s |
safe FIPS | pk 48 · sk 96 · sig 16224 · seed 72 · ctx 0–255 | FIPS 205 | safe |
| SLH-DSA-SHA-2-256f slh-dsa-sha2-256f |
safe FIPS | pk 64 · sk 128 · sig 49856 · seed 96 · ctx 0–255 | FIPS 205 | safe |
| SLH-DSA-SHA-2-256s slh-dsa-sha2-256s |
safe FIPS | pk 64 · sk 128 · sig 29792 · seed 96 · ctx 0–255 | FIPS 205 | safe |
| SLH-DSA-SHAKE-128f slh-dsa-shake-128f |
safe FIPS | pk 32 · sk 64 · sig 17088 · seed 48 · ctx 0–255 | FIPS 205 | safe |
| SLH-DSA-SHAKE-128s slh-dsa-shake-128s |
safe FIPS | pk 32 · sk 64 · sig 7856 · seed 48 · ctx 0–255 | FIPS 205 | safe |
| SLH-DSA-SHAKE-192f slh-dsa-shake-192f |
safe FIPS | pk 48 · sk 96 · sig 35664 · seed 72 · ctx 0–255 | FIPS 205 | safe |
| SLH-DSA-SHAKE-192s slh-dsa-shake-192s |
safe FIPS | pk 48 · sk 96 · sig 16224 · seed 72 · ctx 0–255 | FIPS 205 | safe |
| SLH-DSA-SHAKE-256f slh-dsa-shake-256f |
safe FIPS | pk 64 · sk 128 · sig 49856 · seed 96 · ctx 0–255 | FIPS 205 | safe |
| SLH-DSA-SHAKE-256s slh-dsa-shake-256s |
safe FIPS | pk 64 · sk 128 · sig 29792 · seed 96 · ctx 0–255 | FIPS 205 | safe |
Frequently asked questions
Which SLH-DSA variants does NextSSL include?
NextSSL registers 12 SLH-DSA variants: slh-dsa-sha2-128f, slh-dsa-sha2-128s, slh-dsa-sha2-192f, slh-dsa-sha2-192s, slh-dsa-sha2-256f, slh-dsa-sha2-256s, slh-dsa-shake-128f, slh-dsa-shake-128s, slh-dsa-shake-192f, slh-dsa-shake-192s and more.
Families with similar names
Other digital signatures
All 503Related
The NIST Merkle–Damgård hash family behind most of today's TLS, signatures and software
HSSHierarchical Signature System: multi-level LMS trees for larger signature budgets
LMSLeighton-Micali stateful hash-based signatures, standardised in RFC 8554 and SP 800-208
ML-DSANIST's primary post-quantum signature scheme, standardised in FIPS 204
SPHINCS+ (Round 3)The Round 3 stateless hash-based signature, predecessor of SLH-DSA
SHAKEThe extendable-output functions of FIPS 202, producing any length of output from Keccak