Digital signatures

SLH-DSA-SHA-2-192s

Stateless hash-based signatures standardised in FIPS 205, relying only on hash functions

safe Safe API Specified in a FIPS standard Post-quantum

About SLH-DSA-SHA-2-192s

SLH-DSA-SHA-2-192s is one of 12 SLH-DSA variants in the NextSSL registry, a digital signature scheme. It uses a 48-byte public key, a 96-byte secret key, a 16,224-byte signature, a 72-byte seed and a 0–255-byte context string. It takes the parameter deterministic (default 0). Its registry entry cites FIPS 205. It is also known as slhdsasha2-192s. It is designed to resist attacks by large quantum computers. NextSSL lists it in the safe tier and exposes it through the safe API.

Overview

SLH-DSA is the Stateless Hash-Based Digital Signature Algorithm standardised by NIST in FIPS 205, derived from SPHINCS+. Its security depends only on properties of the underlying hash function, making it the most conservative of the NIST post-quantum signatures.

SLH-DSA combines three hash-based building blocks. WOTS+ one-time signatures sign the roots of Merkle trees; these trees are stacked into a hypertree whose top root is the public key; and at the bottom a FORS few-time signature signs a digest of the message. The leaf used for each signature is chosen pseudorandomly from the message, so no state needs to be stored between signatures, unlike LMS or XMSS.

Because it relies only on second-preimage and related properties of SHA-2 or SHAKE, SLH-DSA is a hedge against unexpected advances in the cryptanalysis of lattices. The cost is size and speed: signatures range from about 7.9 KB to 49.9 KB, and signing is much slower than ML-DSA, although public keys are tiny at 32 to 64 bytes. Verification is fast in all cases.

Twelve parameter sets are present, covering SHA-2 and SHAKE instantiations at security categories 1, 3 and 5 (128, 192, 256). The s variants produce smaller signatures with slower signing; the f variants sign faster with larger signatures. Public keys consist of a 16-, 24- or 32-byte public seed plus a tree root of the same length, and FIPS 205 also defines a pre-hash variant, HashSLH-DSA.

History

2016–2025
  1. NIST calls for post-quantum KEMs and signatures

    NIST Post-Quantum Cryptography standardisation
  2. SPHINCS+ submitted to NIST PQC

  3. 26 candidates advance to round 2

    NIST Post-Quantum Cryptography standardisation
  4. Round 3 finalists and alternates announced

    NIST Post-Quantum Cryptography standardisation
  5. SPHINCS+ selected by NIST

  6. SLH-DSA published as FIPS 205

  7. HQC selected as a second KEM

    NIST Post-Quantum Cryptography standardisation

How it works

  1. KeyGen derives a hypertree of Merkle trees from secret seeds; the public key is the top root plus a public seed.
  2. Sign computes a randomised message digest that selects a FORS instance and a leaf path in the hypertree.
  3. The FORS signature covers the digest, and WOTS+ signatures authenticate each tree root up to the top.
  4. Verify recomputes the chain of roots from the signature and compares with the public key.

Security notes

SLH-DSA has the most conservative security assumption of the NIST signatures. Large signatures and slow signing limit its use in latency-sensitive protocols; fault attacks on signing can leak one-time key material, so hardened implementations matter in hostile environments.

Typical uses

Long-lived roots of trust and certificate authority keysFirmware and software signing where verification is infrequentA hash-only fallback alongside lattice signatures

Sizes

FieldBytesMeaning
pk48Public key
sk96Secret key
sig16,224Signature
seed72Seed
ctx0 – 255Context string

Parameters

NameTypeRangeDefaultRequired
deterministic u32 0 – 1 0 no

Parameters are passed as a string, for example nextssl_mac("hmac", "hash=sha512", …). Omitted parameters take their declared default.

Use it

from nextssl_demo import NextSSL

ns = NextSSL()              # safe API: safe and standard tiers
pk, sk = ns.call("sign_keygen", "slh-dsa-sha2-192s", None, outs=2)
sig = ns.call("sign_detached", "slh-dsa-sha2-192s", None, sk, b"message", b"")[0]
ok  = ns.check("verify_detached", "slh-dsa-sha2-192s", None, pk, b"message", b"", sig)

Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.

Frequently asked questions

What is SLH-DSA-SHA-2-192s?

SLH-DSA-SHA-2-192s is a signature in the SLH-DSA family. SLH-DSA is the Stateless Hash-Based Digital Signature Algorithm standardised by NIST in FIPS 205, derived from SPHINCS+. It is also known as slhdsasha2-192s.

What are the SLH-DSA-SHA-2-192s sizes?

In NextSSL, SLH-DSA-SHA-2-192s uses: public key 48 bytes, signature 16,224 bytes.

Is SLH-DSA-SHA-2-192s post-quantum?

Yes. SLH-DSA-SHA-2-192s is a post-quantum signature: it is designed to resist attacks by large quantum computers. Its tier in NextSSL is safe.

Who designed SLH-DSA-SHA-2-192s and when?

SLH-DSA-SHA-2-192s belongs to the SLH-DSA family, first published in 2024 by Daniel J. Bernstein, Andreas Hülsing, Stefan Kölbl, Ruben Niederhagen, Joost Rijneveld, Peter Schwabe, et al. (SPHINCS+ team). Its origin: NIST PQC standard (FIPS 205).

Which standards define SLH-DSA-SHA-2-192s?

SLH-DSA-SHA-2-192s is referenced by FIPS 205. It is specified in a FIPS standard.

Is SLH-DSA-SHA-2-192s safe to use?

SLH-DSA-SHA-2-192s is in the safe tier. Modern and recommended. The default choice for new designs. It can be called from the safe API.

What other SLH-DSA variants are there?

NextSSL also registers slh-dsa-sha2-128f, slh-dsa-sha2-128s, slh-dsa-sha2-192f, slh-dsa-sha2-256f, slh-dsa-sha2-256s, slh-dsa-shake-128f and more in the SLH-DSA family.