What is SLH-DSA?

SLH-DSA is the hash-based signature standard NIST published as FIPS 205 on 13 August 2024. It is based on SPHINCS+, its security rests on hash functions alone, and the signer keeps no state between signatures.

Also called SPHINCS+, FIPS 205, hash-based signature or stateless hash-based digital signature algorithm.

Explain it like I’m five

Imagine a giant book of tear-off signing sheets. Every sheet carries a secret, and on your business card you print one fingerprint that covers the whole book. To sign a letter you pick a sheet, show its secret, and add a short trail of fingerprints that ties the sheet to the fingerprint on your card. Anyone can check the trail against the card. Showing a sheet gives away part of its secret, so a sheet is good for only a few signatures.

The real book holds at least about nine quintillion sheets, so the letter itself can decide which one to use, and nobody has to keep a list of the sheets already used. That is what stateless means. Everything is built from one tool, a hash function, a scrambling machine that nobody can run backwards.

What problem it solves

A digital signature proves that a message was approved by whoever holds a private key. RSA and ECDSA signatures can be forged once a large quantum computer runs Shor’s algorithm. NIST’s main replacement, ML-DSA, rests on lattices, a younger branch of mathematics.

SLH-DSA covers the case where lattices turn out weaker than hoped. Its security rests on the presumed difficulty of finding inputs for hash functions and on a few related properties of them, and hash functions have been attacked for decades. NIST describes it as a backup in case ML-DSA proves vulnerable.

How it works, step by step

  • It starts from one hash function, SHA-256, SHA-512 or SHAKE256 depending on the variant, which is quick to compute and has no known way back.
  • A one-time signature (WOTS+) hashes each secret value many times in a chain, and the public key is the end of every chain. Signing reveals a point partway along each chain, chosen by the digits of the message hash, and a checksum stops anyone from forging by walking a chain further.
  • Many one-time keys are gathered under a single root (a Merkle tree, called XMSS here). A signature adds the sibling hashes that tie its key to that root.
  • The roots of those small trees are signed by one-time keys in a tree above them, and so on for several layers, up to one top root (the hypertree). The top root is the heart of the public key.
  • At the bottom sits a few-time signature (FORS) that signs the message hash. Because it tolerates a few uses of the same key, signing needs no counter.
  • To sign, the signer hashes the message with a fresh random value, lets part of the result pick the bottom key, signs with it, and then signs that key’s fingerprint up through every layer. The signature is the random value, the FORS signature and the layer signatures.
  • To verify, anyone repeats the hashing from the signature upward and accepts if the result equals the top root in the public key. Only hash calls are needed.

A worked example

Take SLH-DSA-SHA2-128s, where every value is 16 bytes. A signature holds one random value. The bottom FORS signature has 14 trees, each showing one secret and 12 sibling hashes, which makes 182 values. The 7 layers each add a one-time signature of 35 chain values, 245 in all, plus 63 sibling hashes on the way up, which makes 308 values. In total that is 491 values, and 491 times 16 is 7,856 bytes. The public key is two 16-byte values, 32 bytes.

The fast set SLH-DSA-SHA2-128f uses short trees in 22 layers. Signing is cheaper and the signature grows to 17,088 bytes. An ECDSA signature is 64 bytes, so the small set is about 120 times larger.

What it guarantees

  • A forgery needs a break of the hash function, through preimage resistance and a few related properties. No lattice, curve or number-theory assumption is involved.
  • FIPS 205 says the scheme is designed to resist attacks from a large-scale quantum computer. Its twelve parameter sets sit in NIST security categories 1, 3 and 5.
  • It is stateless. The stateful hash-based schemes LMS and XMSS in SP 800-208 are safe only if the signer never reuses a one-time key, so NIST does not intend them for general use.
  • Each key pair may sign up to about 18 quintillion messages, which is 2 to the power 64. At 10 billion signatures per second that would take over 58 years.
  • Public keys are 32, 48 or 64 bytes and signatures run from 7,856 to 49,856 bytes. NIST noted in 2022 that SLH-DSA is somewhat larger and slower than the other signature algorithms it chose.

Common misunderstandings

  • The letters s and f do not change the security. A 128s set and a 128f set are both category 1. The s sets trade signing speed for small signatures, and the f sets do the reverse.
  • SLH-DSA and SPHINCS+ are close relatives with different details. FIPS 205 changes details, including how the message digest picks the bottom key, and the standard says its method is not compatible with the round-three reference code.
  • Stateless describes bookkeeping and has nothing to do with secrecy. The private key must stay secret like any other, and the signer simply does not have to remember which one-time keys it used.
  • Quantum computers do not break hash functions. Grover’s algorithm gives a square-root speedup to guessing and no more.

Where it is used

  • FIPS 205 is a US federal standard that private organizations may adopt, and NIST’s IR 8547 lists SLH-DSA with ML-DSA as an approved quantum-resistant signature.
  • OpenSSL 3.5, released in April 2025, supports it, and Google Cloud KMS offered SLH-DSA-SHA2-128S in preview from February 2025.
  • On 7 October 2026 Justin Drake suggested that oracles and layer-2 security councils consider multi-signing with a hash-based scheme such as SPHINCS.

History

Leslie Lamport described signatures built from a one-way function in an SRI report dated 18 October 1979, and Ralph Merkle’s 1979 thesis, which FIPS 205 cites for hash trees, supplied the tree that lets one public key cover many one-time keys. The stateless SPHINCS appeared at Eurocrypt 2015 with 41-kilobyte signatures. Its successor SPHINCS+ was one of four algorithms NIST selected in July 2022, and FIPS 205 followed on 13 August 2024.

In Redacted

In Redacted, nodes sign their approvals and Spending accounts sign their actions with SLH-DSA, the hash-based signature standard NIST published as FIPS 205, based on SPHINCS+. The same holds for every account.

Bunker mode →

Related terms

Sources: FIPS 205, Stateless Hash-Based Digital Signature Standard, NIST, 13 August 2024 · NIST announces first four quantum-resistant cryptographic algorithms, July 2022 · SPHINCS: practical stateless hash-based signatures, Bernstein et al., Eurocrypt 2015 · Constructing digital signatures from a one way function, Lamport, SRI, 1979 · Transition to Post-Quantum Cryptography Standards, NIST IR 8547, October 2026

Updated November 1, 2026. All terms