Skip to content

FIPS 205

SLH-DSA: Stateless Hash-Based Digital Signature Standard.

FIPS 205 specifies SLH-DSA, a stateless hash-based digital signature standard derived from SPHINCS+. This page summarizes the standard-level objects, parameter families, and practical workflow.

What FIPS 205 Defines

SLH-DSA is a digital signature scheme. It provides key generation, message signing, and signature verification; it is not a key-establishment or encryption mechanism.

The standard fixes the approved parameter sets, public and private key objects, signature object, and algorithm interfaces for the SPHINCS+-based construction. FORS, WOTS+, XMSS-like trees, and the hypertree are internal building blocks, not separate FIPS-approved signature schemes.

Workflow

SLH-DSA.KeyGen
RandomnessSeed materialSK.seed / SK.prfPK.seed
ConstructionHypertree rootxmss_node
OutputsPK + SKPKSK
  • Seed material to Hypertree root: seeds
  • Hypertree root to PK + SK: PK.root

Interactive Algorithm Trace

Follow pure SLH-DSA signature generation from the Algorithm 22 entry point through the persistent Algorithm 19 procedure. Each step identifies the active standard lines, their inputs, and the value carried forward.

FIPS 205 algorithm trace

Pure SLH-DSA Signature Generation
1 / 12
Algorithm 22slh_sign⁡(M,ctx,SK)\operatorname{slh\_sign}(M,\mathrm{ctx},\mathrm{SK})
InputsM, ctx, SKPrepareM', addrndCallslh_sign_internal
Algorithm 19

FIPS 205
Input
M', SK = (SK.seed, SK.prf, PK.seed, PK.root), addrnd
Output
SIG
Established valuesValues remain available after their defining step
M'Algorithm 22
addrndAlgorithm 22
Signature assemblySIG = empty
RRpending
SIGFORS\mathrm{SIG}_{\mathrm{FORS}}pending
SIGHT\mathrm{SIG}_{\mathrm{HT}}pending
Algorithm 22, lines 1-10Enter pure SLH-DSA signing · 1 / 12

The pure-signing interface validates the context, constructs the domain-separated message M', and supplies hedging randomness before calling slh_sign_internal.

SLH-DSA Operations

Run hash-based key generation, message signing, and signature verification locally in the browser.
Hash
Level
Profile
SLH-DSA-SHA2-128sPublic key 32 bytes · private key 64 bytes · signature 7,856 bytes
Key GenerationInput: parameter set. Output: public key and private key.

Key generation uses the selected parameter set and does not require external input.

Operation OutputInitializing
Public key
not generated
Private key
not generated
Signature
not generated
Verification result
not generated
Cryptographic implementation:@noble/post-quantumMIT License

Quick Parameters

For each listed family, SHA2 and SHAKE variants share the same key and signature sizes. The 128, 192, and 256 families correspond to NIST security categories 1, 3, and 5, respectively. The suffix s favors smaller signatures; f favors faster signing with larger signatures.

Primary References