Skip to content

Hash-Based Signatures (SLH-DSA)

SLH-DSA (FIPS 205) is a stateless hash-based signature scheme. Its security relies only on hash function properties — not on lattice assumptions like ML-DSA. This makes it a conservative fallback if lattice-based algorithms are ever compromised.

@brivora/crypto implements SLH-DSA-SHAKE-128f (fast variant).

SLH-DSA is available through the crypto API for applications requiring maximum conservative security. For most use cases, the default hybrid mode (ML-DSA-65 + Ed25519) is recommended.

Use SLH-DSA when:

  • You need security assumptions based solely on hash functions
  • You want a fallback independent of lattice-based cryptography
  • Your threat model includes potential future breaks in lattice assumptions
  • Long-term document signing where proofs must remain valid for decades
PropertyML-DSA-65SLH-DSA-SHAKE-128f
Security basisLatticeHash functions
Signature size~3,300 bytes~17,088 bytes
Signing speedFastSlower
Verification speedFastModerate
NIST standardFIPS 204FIPS 205