← Back to section · Post-Quantum Cryptography

The Hash-Based Signature Landscape: Stateful, Stateless and a Selection Map

The whole family on one map: from Lamport through XMSS/LMS to SLH-DSA — the cost structures of the two routes, their approval status and home grounds, and how to choose when ML-DSA is also on the table.

Published 22 November 2026 · 5 min read · PQ Frontier

The Hash-Based Signature Landscape: Stateful, Stateless and a Selection Map
AI-generated site artwork
Video explainer · Hash-based signatures

This subcategory began with Lamport’s pairs of secrets and passed through Merkle trees, Winternitz chains, XMSS and LMS, state management and the properties of hash functions. This closing article puts the whole family back on one map: its members, what each route pays and what it buys, where standardization and approval stand, and which questions a real selection decision should ask. Hash-based signatures are not a single algorithm but a complete methodology for signing on the most conservative mathematical assumption available.

One assumption, two routes

The family’s common ground is a single sentence: security rests on the one-wayness of hash functions and on no algebraic structure at all. That gives it a unique place in the post-quantum landscape — lattice schemes bet on a few decades of research into lattice problems, while hash-based schemes bet on the oldest primitive in cryptography, attacked relentlessly and still standing. If any class of algebraic assumption ever wobbles, the hash route is the fallback line.

On top of that common ground the family splits in two, and the dividing line is state. The stateful route (XMSS, LMS/HSS) keeps the Merkle tree’s counter: signatures of only a few kilobytes, fast verification, mature components — at the price of custodying index state like key material, with backups, snapshots and dual machines all becoming minefields. The stateless route (SPHINCS+, standardized as SLH-DSA in FIPS 205) eliminates state entirely with a hypertree and few-time signature components: sign anywhere, back up freely, deploy across as many machines as you like — at the price of signatures in the tens of kilobytes and signing one to two orders of magnitude slower. Our slh-dsa subcategory covers the stateless route in full; here it is simply placed back on the family map.

Between the two routes sits a class of transitional components: few-time signatures. They relax “one-time” to “safely usable a small number of times”, paying with larger components to make stateless constructions feasible — FORS inside SPHINCS+ is exactly this: it cannot carry a stateless scheme alone, but without it the top of the hypertree has no suitable leaf component. Understanding this middle layer clarifies that the stateless route did not simply skip state; it moved “usage counting” out of a runtime counter and into a design-time probabilistic argument: each piece of key material is touched only a very few times, in patterns randomized beyond targeted exploitation. State did not disappear — it was folded into the mathematics, the deepest point of correspondence between the two routes.

The cost structures side by side

Put the three routes next to lattice-based ML-DSA and the trade-offs sharpen. Conservatism of assumption: the two hash routes rank highest; ML-DSA follows (its lattice assumptions are younger but the most actively studied). Signature size: ML-DSA and stateful hash sit in the same few-kilobyte class; stateless hash is an order of magnitude larger. Signing speed: ML-DSA fastest, stateful next, stateless slowest; verification is acceptable across the board. Operational burden: near zero for ML-DSA and stateless hash (ordinary key management suffices), highest for stateful hash (state is key material). Signature budget: effectively unlimited for ML-DSA and stateless; capped by tree height for stateful, requiring an upfront budget.

The table shows the hash family is neither “better overall” nor “obsolete” — it is irreplaceable at two extremes: the most conservative assumptions (both routes), and the most specialized operational profiles (stateful discipline, stateless size). The large general-purpose middle belongs to ML-DSA.

Approval and deployment status

On standardization, this family’s record is actually the most complete. On the stateful side, XMSS (RFC 8391) and LMS (RFC 8554) were first specified by the IETF and then approved by NIST SP 800-208 (2020) for the federal scenarios it covers — among the earliest official approvals of any post-quantum signatures, predating the FIPS series; CNSA 2.0, in the context of firmware and software signing, points at exactly this route. On the stateless side, SLH-DSA was published in 2024 as FIPS 205, in the same first batch of PQC standards as ML-KEM and ML-DSA. Stateful or stateless, the hash family has a ready, procurable, standards-based answer either way.

Deployment gravity follows accordingly: stateful schemes are already the practical choice for firmware signing, code signing and root-key ceremonies — scenarios where signatures are countable, environments controlled and horizons measured in decades. The stateless scheme fits offline root CAs, long-term documents and critical systems that want a retreat line from lattice assumptions. Their shared opponent is neither of them; it is the inertia of betting everything on a single assumption for convenience. There is also a practical point about migration order: both of the family’s standards (SP 800-208 and FIPS 205) have been final for years with mature implementations, so in many organizations’ migration roadmaps the hardest-to-replace links — firmware and root keys — are actually among the first to switch to hash-based signatures: replace the longest-lived trust anchors with the most conservatively assumed scheme first, then handle high-volume general traffic at leisure. That ordering is itself a form of risk ranking.

Selection: three questions, in order

A concrete decision needs just three questions, asked in order. First: can the signing environment reliably custody state? If yes, the stateful route enters the shortlist; if no, XMSS/LMS are excluded on the spot — no agonizing needed. Second: can the budget absorb the size and speed? If tens of kilobytes and slow signing are acceptable, stateless SLH-DSA is the most conservatively assumed burden-free option; if not, move to the third question. Third: must assumption diversity be a written requirement? If compliance or risk appetite demands “not everything on lattices”, pair ML-DSA with a hash route for the critical links — root keys, firmware chains — as a dual track; if no such requirement exists, ML-DSA for general-purpose use is the reasonable answer, and the hash family holds the ground it is best at.

Closing

The landscape of hash-based signatures compresses into one sentence: on cryptography’s most conservative assumption, the family built two routes with completely different cost structures — one pays its cost to operations, the other pays it in size. Its very existence is the most important insurance policy in the post-quantum migration: while everyone migrates toward lattices, a road that relies on hash functions alone stands alongside — approved by standards, used by real systems, ready to catch the fall if any assumption ever gives way. The eight articles of this subcategory, from components to systems to this map, set out to leave that road’s full story recorded here.

Tags: hash-based signaturesselectionSLH-DSAstateful vs stateless