Digital Signature
SLH-DSA
Stateless Hash-based Digital Signature Algorithm · FIPS 205
Mechanism
How it works
Parameter Sets
5 variants shipped
Each variant trades security category against key, ciphertext, or signature size. QNSP exposes all variants via the @cuilabs/liboqs-native binding; tenant crypto-policy determines which are allowed.
| Variant | NIST Level | Public Key | Secret Key | Signature | Note |
|---|---|---|---|---|---|
| SLH-DSA-SHA2-128s | L1 | 32 B | 64 B | 7,856 B | Smallest signature, slower signing. Hash: SHA-2-256. |
| SLH-DSA-SHA2-128f | L1 | 32 B | 64 B | 17,088 B | Faster signing, larger signature. Hash: SHA-2-256. |
| SLH-DSA-SHA2-256s | L5 | 64 B | 128 B | 29,792 B | Maximum / Government tier — smallest sig variant. |
| SLH-DSA-SHA2-256f | L5 | 64 B | 128 B | 49,856 B | Maximum / Government tier — faster signing variant. |
| SLH-DSA-SHAKE-128s / 128f / 192s / 192f / 256s / 256f | L5 | 32 B | 64 B | 7,856 B | SHAKE-based variants (6 additional). Identical security categories; SHAKE provides constant-time XOF for environments where SHA-2 acceleration is unavailable. |
NIST ACVP
Conformance evidence
QNSP runs the official NIST ACVP test vectors against every shipped algorithm. Live evidence + SHA-3-256 tamper digest at /verify/conformance.
Use Cases
When to use it
- Long-archival signatures (decades-long validity)
- Government tier (FIPS-finalised conservative-assumption requirement)
- Code-signing for high-assurance artefacts
- Independent cross-verification of ML-DSA signatures (different security assumption)
Trade-offs
What you give up, what you get
- Largest signatures of any FIPS-finalised PQC scheme (8 KB – 50 KB depending on parameter set)
- Slowest signing performance — milliseconds, not microseconds
- Strongest security argument — relies only on hash function security
- Stateless: no key-use counter to maintain (unlike LMS / XMSS)
FAQ
SLH-DSA — frequently asked questions
Concise, source-of-truth answers to the questions buyers and engineers ask most about this algorithm.
What is SLH-DSA?
SLH-DSA (Stateless Hash-based Digital Signature Algorithm) is a hash based post-quantum digital signature scheme. It is designed to resist attacks from both classical and quantum computers, and QNSP ships 5 of its parameter sets. It is also known as SPHINCS+, Stateless Hash-DSA.
Is SLH-DSA NIST-standardized?
Yes. SLH-DSA is a NIST-standardized algorithm, finalized as FIPS 205. QNSP runs the official NIST ACVP test vectors against it on every release, with the live evidence and a SHA-3-256 tamper digest published at /verify/conformance.
What is SLH-DSA used for?
On QNSP, SLH-DSA is used for Long-archival signatures (decades-long validity); Government tier (FIPS-finalised conservative-assumption requirement). It is available from the default crypto-policy tier upward via the noble and liboqs providers.
References