Signature family

SLH-DSA

Stateless hash-based signatures standardised in FIPS 205, relying only on hash functions

safe 12 variants NIST PQC standard (FIPS 205)

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–2025
  1. NIST calls for post-quantum KEMs and signatures

    NIST Post-Quantum Cryptography standardisation
  2. SPHINCS+ submitted to NIST PQC

  3. 26 candidates advance to round 2

    NIST Post-Quantum Cryptography standardisation
  4. Round 3 finalists and alternates announced

    NIST Post-Quantum Cryptography standardisation
  5. SPHINCS+ selected by NIST

  6. SLH-DSA published as FIPS 205

  7. HQC selected as a second KEM

    NIST Post-Quantum Cryptography standardisation

How it works

  1. KeyGen derives a hypertree of Merkle trees from secret seeds; the public key is the top root plus a public seed.
  2. Sign computes a randomised message digest that selects a FORS instance and a leaf path in the hypertree.
  3. The FORS signature covers the digest, and WOTS+ signatures authenticate each tree root up to the top.
  4. 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

Long-lived roots of trust and certificate authority keysFirmware and software signing where verification is infrequentA hash-only fallback alongside lattice signatures

Variants in NextSSL

12
AlgorithmTierSizes (bytes)StandardsAPI
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