SPHINCS-SHAKE256-192s-R1
Round 1 stateless hash-based signatures using Haraka and SHAKE256 at three levels
Source found and wired, correctness not fully proven. Root API only. Reach it with NextSSL(root=True) in Python or the nextssl_root_* functions in C.
About SPHINCS-SHAKE256-192s-R1
SPHINCS-SHAKE256-192s-R1 is one of 12 SPHINCS+ (round 1) variants in the NextSSL registry, a digital signature scheme. It uses a 48-byte public key, a 96-byte secret key and a 1–17,064-byte signature. It is designed to resist attacks by large quantum computers. NextSSL lists it in the unverified tier and exposes it through the root API only (NextSSL(root=True) in Python, nextssl_root_* in C).
Overview
The round 1 SPHINCS+ submission is a stateless hash-based signature with Haraka and SHAKE256 instantiations at three levels, in fast and small settings. It is the first-round ancestor of the round 2 and FIPS 205 designs.
The round 1 SPHINCS+ submission is a stateless hash-based signature built from a hypertree of Merkle trees, few-time signatures for the message digest, and one-time signatures at the bottom layer. Its security depends only on the hash functions, so it does not rely on lattice or number-theoretic problems. This is the design that later became the basis of the standard hash-based signature in FIPS 205.
NextSSL's record lists sphincs-haraka-128f-r1, sphincs-haraka-128s-r1, sphincs-haraka-192f-r1 and sphincs-haraka-192s-r1, with eight others among the Haraka 256 and SHAKE256 variants. The 128-bit fast set has 32-byte public keys and signatures of up to 16976 bytes, and the 128-bit small set has signatures of up to 8080 bytes. At 192 bits, the fast and small sets give signatures of up to 35664 and 17064 bytes.
The round 1 design was revised for round 2 and then standardised as SLH-DSA in FIPS 205 without Haraka. The round 1 records are unverified and should be used only for research and comparison. The Haraka and SHAKE256 instantiations show that the hash choice changes implementation details, not the basic hypertree structure.
History
2015–2025Original SPHINCS published at EUROCRYPT
NIST calls for post-quantum KEMs and signatures
NIST Post-Quantum Cryptography standardisationSPHINCS+ submitted to NIST PQC
26 candidates advance to round 2
NIST Post-Quantum Cryptography standardisationRound 3 finalists and alternates announced
NIST Post-Quantum Cryptography standardisationSPHINCS+ selected by NIST
Standardised as SLH-DSA in FIPS 205
HQC selected as a second KEM
NIST Post-Quantum Cryptography standardisation
How it works
- KeyGen derives a hypertree whose root is the public key from random seeds.
- Sign produces a few-time signature over the message digest and authenticates it through the hypertree layers.
- Verify rebuilds the authentication path to the root and compares it with the public key.
Security notes
The construction is conservative, but the round 1 parameters and the Haraka instantiation were later revised. The record is unverified.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| pk | 48 | Public key |
| sk | 96 | Secret key |
| sig | 1 – 17,064 | Signature |
| seed | 0 | Seed |
| ctx | 0 | Context string |
Use it
from nextssl_demo import NextSSL
root = NextSSL(root=True) # tier 'unverified' is reachable from the root API only
pk, sk = root.call("sign_keygen", "sphincs-shake256-192s-r1", None, outs=2)
sig = root.call("sign_detached", "sphincs-shake256-192s-r1", None, sk, b"message", b"")[0]
ok = root.check("verify_detached", "sphincs-shake256-192s-r1", None, pk, b"message", b"", sig)
nextssl_root_sign_keygen("sphincs-shake256-192s-r1", NULL, pk, sk);
nextssl_root_sign_detached("sphincs-shake256-192s-r1", NULL, sk, msg, ctx, sig);
nextssl_root_verify_detached("sphincs-shake256-192s-r1", NULL, pk, msg, ctx, sig);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let alg = reg::new_sign_in(reg::all(), Policy::Any, "sphincs-shake256-192s-r1", &Params::new())?;
let (pk, sk) = alg.keygen(&mut *rng)?;
let sig = alg.sign(&sk, b"message")?;
let ok = alg.verify(&pk, b"message", &sig)?;
Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.
Other SPHINCS+ (round 1) variants
11Similar names
Looking for something else?More digital signatures
All 503Frequently asked questions
What is SPHINCS-SHAKE256-192s-R1?
SPHINCS-SHAKE256-192s-R1 is a signature in the SPHINCS+ (round 1) family. The round 1 SPHINCS+ submission is a stateless hash-based signature with Haraka and SHAKE256 instantiations at three levels, in fast and small settings.
What are the SPHINCS-SHAKE256-192s-R1 sizes?
In NextSSL, SPHINCS-SHAKE256-192s-R1 uses: public key 48 bytes, signature 1 to 17,064 bytes.
Is SPHINCS-SHAKE256-192s-R1 post-quantum?
Yes. SPHINCS-SHAKE256-192s-R1 is a post-quantum signature: it is designed to resist attacks by large quantum computers. Its tier in NextSSL is unverified.
Who designed SPHINCS-SHAKE256-192s-R1 and when?
SPHINCS-SHAKE256-192s-R1 belongs to the SPHINCS+ (round 1) family, first published in 2017 by Daniel J. Bernstein, Andreas Hulsing, Stefan Kolbl, Ruben Niederhagen, Joost Rijneveld, Peter Schwabe. Its origin: NIST PQC standardisation, round 1 submission.
Is SPHINCS-SHAKE256-192s-R1 safe to use?
SPHINCS-SHAKE256-192s-R1 is in the unverified tier. Source found and wired, correctness not fully proven. Root API only. It is only reachable through the root API (NextSSL(root=True) in Python, nextssl_root_* in C).
What other SPHINCS+ (round 1) variants are there?
NextSSL also registers sphincs-haraka-128f-r1, sphincs-haraka-128s-r1, sphincs-haraka-192f-r1, sphincs-haraka-192s-r1, sphincs-haraka-256f-r1, sphincs-haraka-256s-r1 and more in the SPHINCS+ (round 1) family.
Related families
Hierarchical Signature System: multi-level LMS trees for larger signature budgets
LMSLeighton-Micali stateful hash-based signatures, standardised in RFC 8554 and SP 800-208
SLH-DSAStateless hash-based signatures standardised in FIPS 205, relying only on hash functions
SPHINCS+ (Round 3)The Round 3 stateless hash-based signature, predecessor of SLH-DSA
SPHINCS+ (round 2)Stateless hash-based signatures with 36 round 2 parameter choices across three hash functions