Skip to content
Start with Identity
Standard

What is SLH-DSA (Stateless Hash-Based Digital Signature Algorithm)?

SLH-DSA is a post-quantum digital signature algorithm standardized by NIST in FIPS 205 (August 2024), derived from SPHINCS+. Its security rests only on hash functions, so NIST positions it as a backup in case a weakness is found in the lattice mathematics behind ML-DSA (NIST).

The trade-off is size and speed. Public keys are tiny (32 bytes for the 128-bit sets), but signatures are large: 7,856 bytes for SLH-DSA-SHA2-128s and 17,088 bytes for the faster 128f variant, and signing is much slower than ML-DSA. That rules it out for per-request tokens and most TLS handshakes.

NSA's CNSA 2.0 does not approve SLH-DSA for US National Security Systems; for firmware and software signing there it requires LMS or XMSS (NSA CNSA 2.0 FAQ). Where it fits in identity: long-lived roots of trust that sign rarely and must stay valid for decades, such as offline root CA keys, firmware and code-signing roots, and archived signed records. Keeping a hash-based option available is also a practical form of crypto-agility: if a lattice problem weakens, you have a signature scheme based on different assumptions. It is distinct from the stateful hash-based schemes LMS and XMSS (NIST SP 800-208), which CNSA 2.0 specifies for software and firmware signing.

See also: ML-DSA, FN-DSA, post-quantum cryptography, certificate authority, post-quantum migration for identity

Where this term is explained in depth

Last reviewed By SWI Community TeamSuggest a correctionHow we research