← Back to section · Education & Knowledge Base
SLH-DSA Entry: The Stateless Hash-Based Signature of FIPS 205
SLH-DSA is the stateless hash-based signature algorithm standardized by NIST in FIPS 205, derived from SPHINCS+, whose security depends only on the properties of hash functions. This entry covers its definition, origins, mechanism, parameter sets, and common points of confusion.
SLH-DSA (Stateless Hash-Based Digital Signature Algorithm) is the signature algorithm defined by FIPS 205, published by the U.S. National Institute of Standards and Technology (NIST) in August 2024. Its predecessor is SPHINCS+. Among the first three post-quantum standards, SLH-DSA is the only non-lattice scheme: its security rests on no algebraic hardness assumption at all, only on the properties of hash functions. This “fewest assumptions” trait determines its special place in the suite — the conservative anchor of trust.
Definition and Role: Why a Hash-Based Route Is Needed
The mainstream post-quantum signature is the lattice-based ML-DSA, but resting the entire signature infrastructure on a single mathematical assumption carries structural risk: if the lattice problems were unexpectedly broken, all signatures would lose their foundation at once. Hash-based signatures provide diversity as a hedge: hash functions are the most thoroughly studied primitive in cryptography, and quantum computers accelerate attacks on them only quadratically via Grover’s algorithm — an effect that can be offset by lengthening outputs. SLH-DSA is therefore positioned as the conservative choice and fallback route, especially suited to “sign once, use for a decade” scenarios.
Origins: From SPHINCS+ to FIPS 205
The idea of hash-based signatures goes back to Lamport’s one-time signatures of 1979 and Merkle’s tree extension, but early schemes could either sign only a limited number of times or required strict state maintenance. The SPHINCS family (2015) and its improved version SPHINCS+ delivered the first practical stateless hash-based signature: through a multi-layer tree structure combined with few-time signatures (FORS), they support an astronomical number of signatures without maintaining a counter state. SPHINCS+ was selected by NIST in 2022 as one of the first algorithms for standardization, and entered FIPS 205 in 2024 under the name SLH-DSA.
Mechanism: Trees, One-Time Signatures, and the Stateless Design
SLH-DSA’s construction is a “tower” built from hash functions: at the bottom, FORS few-time signatures sign the message digest directly; above them sits a multi-layer hypertree, where each layer uses XMSS-style one-time signature trees to certify the next layer’s public key, with the root public key at the top. When signing, a set of FORS keys and an authentication path are chosen at random, so signatures under the same key are unrelated to one another and there is no need to record “which one-time keys have been used” — this is precisely what “stateless” means, and the fundamental difference from the stateful schemes XMSS and LMS. Verification recomputes hashes layer by layer along the path and compares against the root public key.
Parameter Sets and Sizes
FIPS 205 combines two hash functions (SHA-2 and SHAKE) with two orientations (s for small signatures, f for fast signing) into 12 parameter sets, covering security categories 1, 3, and 5. Public and private keys are only a few dozen bytes — the smallest of all post-quantum signatures — but signatures range from about 8 kilobytes to nearly 50 kilobytes, and signing requires a large number of hash computations, making it noticeably slower than lattice signatures. This sharp trade-off profile — tiny keys, huge signatures, slow speed, fewest assumptions — is the key to understanding where SLH-DSA fits.
Current Status: The Trust Root for Low-Frequency, High-Value Scenarios
SLH-DSA’s typical applications are firmware and software release signing, root certificates, and long-term archival signatures — scenarios with low frequency, long lifecycles, and the highest security demands: signing happens only a few times a year, so being slower and larger is entirely acceptable in exchange for immunity to mathematical-assumption risk. Several migration guides recommend hash-based signatures as the conservative option for critical trust roots, combined with ML-DSA as “primary plus insurance.” Stateful hash-based signatures (XMSS, LMS) were approved earlier by NIST SP 800-208 for controlled environments such as firmware signing.
The Trade-Off Against Stateful Schemes
SLH-DSA is most often compared with its stateful cousins XMSS and LMS. All three are hash-based signatures, but their engineering characters differ sharply: stateful schemes have much smaller signatures (within a few kilobytes) and are much faster, at the cost of requiring the signer to maintain counter state as carefully as a one-time pad — if that state ever rolls back during backup restoration, dual-machine failover, or virtual machine snapshot rollback, the same leaf gets used twice and the door to forgery opens immediately. SP 800-208 therefore draws strict boundaries for stateful schemes: state must be kept in non-rollback hardware environments, and keys must not be exported across devices. SLH-DSA’s design philosophy is to delete this operational red line at the root: rather than signatures tens of times larger and an order of magnitude slower, security should not depend on operational discipline. The selection judgment follows clearly: where the signing environment is fully controlled and performance matters, stateful schemes are reasonable; where environments are complex, devices numerous, or lifecycles measured in decades, stateless is the steadier default. Firmware signing became SLH-DSA’s representative scenario precisely because it combines all three traits — low frequency, long life, and uncontrolled environments.
Parameter Selection in Practice
Faced with 12 parameter sets, the selection logic is not complicated. First fix the security category: align with the system’s overall strength — categories 1 and 3 cover the vast majority of applications, with category 5 reserved for the highest-grade trust roots. Then choose the hash basis: SHA-2 benefits from hardware acceleration instructions on general-purpose processors, while SHAKE has advantages in extensible output and implementation uniformity; following whichever the existing ecosystem uses is sensible. Finally choose between s and f: the s variants have signatures roughly half the size but signing several times slower; the f variants have larger signatures but generate them quickly. “Sign once, verify for years” scenarios such as firmware releases usually pick s; archival systems that must sign in bulk on site may pick f. Whichever set is chosen, check the impact of signature size on the carrying medium: before embedding a signature of tens of kilobytes into a firmware image or a certificate extension field, verify format and parser length limits, so the migration does not stall at the last step on an engineering detail.
Points of Confusion
First, SLH-DSA and ML-DSA are both standard signatures, but their assumption bases are completely different; they cannot be ranked by “which is more advanced” — they are complementary. Second, “stateless” is not a detail: once a stateful scheme’s state rolls back or is cloned, its security collapses immediately, and SLH-DSA was designed precisely to eliminate this operational risk. Third, large signatures do not mean backwardness: the size comes from its conservative construction and is the explicit price paid for minimal assumptions. Fourth, what is slow in SLH-DSA is signing; verification is relatively much faster, so in “sign once, verify many times” release scenarios it is not at a disadvantage.
In the encyclopedia’s entry network, SLH-DSA connects upward to the full hash-based signature family and downward to firmware signing and long-term trust root engineering practice — a key entry for understanding the diversity layout of PQC.
Tags: SLH-DSAFIPS 205Hash-Based SignaturesSPHINCS+