← Back to section · Research & Analysis

Paper Review: SPHINCS 2015 — Stateless Signatures from Hash Functions Alone

SPHINCS, by Bernstein and co-authors in 2015, was the first practical stateless hash-based signature scheme. This review explains how it combines a hypertree with few-time signatures to eliminate state, at the cost of signatures in the forty-kilobyte range, and how this line leads to SLH-DSA in FIPS 205.

Published 22 November 2026 · 5 min read · PQ Frontier

Paper Review: SPHINCS 2015 — Stateless Signatures from Hash Functions Alone
AI-generated site artwork
Video explainer · Paper Reviews: Background, Methods, Conclusions

Background: hash-based signatures are reassuring in every way — except state

Building signatures from hash functions alone is the oldest and most reassuring route in post-quantum cryptography: hash functions have no algebraic structure for Shor’s algorithm to exploit, and Grover’s quadratic speed-up can be offset by longer outputs. Lamport’s one-time signatures date to 1979, and Merkle trees organize many one-time keys under a single public key. But this route had one problem it could not shake for decades: state. A one-time key used twice is unsafe, so stateful schemes (XMSS, LMS) require the signer to maintain a strict counter guaranteeing each leaf key is used exactly once — counter rollbacks, backup restores, and multi-device synchronization all risk key reuse and forgery after a single operational accident. Operators are deeply wary of a primitive where one mistake is fatal.

In 2015, Bernstein, Hopwood, Hülsing, Lange, Niederhagen, Papachristodoulou, Schneider, Schwabe, and Wilk published “SPHINCS: practical stateless hash-based signatures” at EUROCRYPT — the first hash-based signature scheme that needs no state management and performs well enough to be usable.

Method: buying out state with size and randomness

SPHINCS is a three-layer construction. At the bottom sits HORST, a few-time signature scheme in which the same key can safely sign a small number of messages; derived from Lamport-style one-time signatures, it expands a secret seed and reveals only the fragments selected by the message, trading that for limited reusability. Above it sits a multi-layer hypertree: many Merkle trees stacked into a tower, where each upper tree’s leaves sign the roots of the trees below, and the tower’s top is the public key. Signing starts from a tree at the bottom and includes authentication paths layer by layer.

The key to statelessness is how the signing leaf is chosen: a pseudorandom function derives an index from the message, randomly selecting a leaf key at the bottom of the tower. Because the key space is enormous and selection is random, the probability of picking the same leaf twice is negligible — and if a rare reuse does happen, the few-time signature underneath retains a safety margin. The operational red line “never reuse,” previously maintained by discipline, becomes a statistical fact that holds with overwhelming probability. State management is bought out with size: every signature must carry full authentication paths plus the revealed fragments of the few-time signature, inflating signatures into the forty-kilobyte range.

Contrast with its stateful siblings

The best reference point for SPHINCS’s trade-off is its stateful siblings. XMSS and LMS/HSS take the same hash-based route but keep the classical structure of one-time keys plus a counter: signatures of only a few kilobytes and faster operation, at the price of state that must never roll back. These two stateful schemes were later standardized by the IETF as RFC 8391 and RFC 8554 respectively, and approved in NIST’s SP 800-208 for scenarios where state is controllable — firmware signing being the archetype: a single device, a countable number of signatures, state protected by hardware.

SPHINCS’s design judgment was that state-controllable scenarios are the minority, while state-loss scenarios — virtual-machine snapshot restores, replicated clusters, backup rollbacks, casually copied development and test environments — are the norm in real information systems. Rather than teach the whole world to maintain counters, eliminate state at the cryptographic layer. The standards system later partly adopted this judgment: SLH-DSA became the general-purpose standard, while stateful schemes retreated to the dedicated territory marked out by SP 800-208. Both forms coexist today, divided by the line this paper and its sibling works jointly drew — whether you can physically guarantee that state never repeats.

Conclusions and limits: the most conservative assumption, the plainest bill

The paper’s conclusion is existence plus usability: there is a class of signature schemes whose security reduces only to properties of the hash function (preimage and second-preimage resistance and the like), requiring no trust in any structured mathematical problem — the fewest assumptions of any post-quantum route, and the end most vindicated by the history of cryptanalysis. At the same time, its concrete parameterization (SPHINCS-256) brought signing, key generation, and verification speeds into a range where deployment could be discussed.

The limits are equally plain: signatures of roughly forty kilobytes are a heavy burden in most protocols (certificates, handshake messages, and firmware packages all have to be re-budgeted), and signing is clearly slower than the lattice signatures that came later. Nor does it cure the generic sensitivities of hash-based signatures — the binding of parameters to the hash function and the influence of randomness quality on the security margin demand care from users. In one sentence, its trade-off is this: minimize trust in mathematical assumptions, and shift the cost onto bandwidth and storage.

Worth noting: the later standardized version turned this trade-off into an optional spectrum — at each security level, two parameter flavors, “small” and “fast”: the former lowers tree heights and reveal sizes in exchange for compactness, the latter does the reverse in exchange for speed. The very existence of the spectrum shows that what this paper left behind is not a fixed parameter set but a tunable design space: the exchange rate among size, speed, and conservatism is priced by each deployer according to their scenario.

Impact: from SPHINCS to FIPS 205

SPHINCS directly led to its improved successor SPHINCS+, which was selected in NIST’s post-quantum standardization process and published in August 2024 as SLH-DSA in FIPS 205, a statutory signature standard alongside the lattice-based ML-DSA. The standardized version replaces HORST with FORS underneath and adjusts parameters and structure in many places, but the skeleton — hypertree plus few-time signatures plus randomized selection — descends directly from the 2015 design.

Its role in the standards landscape was also fixed by this paper: it exists as the “insurance policy.” When deployers harbor doubts about lattice assumptions, or when signatures must live for decades (firmware, root certificates, long-term archives), SLH-DSA is the choice with the fewest assumptions. SPHINCS 2015 is therefore more than a scheme; it is a specimen of a security philosophy: when you distrust every algebraic structure, what remains to trust? The answer is the hash function — and the forty kilobytes you are willing to pay for it.

Tags: SPHINCShash-based signaturesstateless signaturespaper review