Sphincss128sha256robust
Stateless hash-based signature with SHA-256, 128-bit small set, signatures up to 8080 bytes
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 Sphincss128sha256robust
Sphincss128sha256robust is a digital signature scheme from the SPHINCS+ SHA-256 128-bit small robust family. It uses a 32-byte public key, a 64-byte secret key and a 1–8,080-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
SPHINCS+ SHA-256 128-bit small robust is a round 2 SPHINCS+ parameter record at the 128-bit level. It gives 32-byte public keys and signatures of up to 8080 bytes.
SPHINCS+ SHA-256 128-bit small robust is one of the SPHINCS+ round 2 parameter choices, using SHA-256 as the hash function at the 128-bit level in the small configuration. SPHINCS+ is stateless and hash-based, so its security depends only on the properties of SHA-256 and not on number-theoretic or lattice problems. This entry uses the robust tweakable hash, which uses keyed bitmasks and gives the more conservative security argument.
NextSSL's record gives a 32-byte public key, a 64-byte private key and signatures of up to 8080 bytes for sphincss128sha256robust. The fast counterpart with the same hash and mode, sphincsf128sha256robust, has signatures of up to 16976 bytes. The small setting accepts slower signing in exchange for the smaller signature. The robust and simple modes share these sizes, so the choice between them does not change the signature length.
The SHA-2 and SHAKE instantiations were carried into FIPS 205 as SLH-DSA, and the Haraka instantiation was not. FIPS 205 standardises its own set of parameter sets, so these round 2 records differ from the final standard in structure and size. The round 2 entry is unverified in NextSSL and is kept for research and comparison.
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 generates random seeds and builds the top of a hypertree of Merkle trees, whose root is the public key.
- Sign selects a leaf for the message digest, produces a FORS signature, and authenticates it up the hypertree.
- Verify recomputes the roots from the signature and compares them with the public key.
Security notes
The argument relies only on SHA-256 properties, a conservative assumption. The round 2 record is unverified and was revised before standardisation.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| pk | 32 | Public key |
| sk | 64 | Secret key |
| sig | 1 – 8,080 | 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", "sphincss128sha256robust", None, outs=2)
sig = root.call("sign_detached", "sphincss128sha256robust", None, sk, b"message", b"")[0]
ok = root.check("verify_detached", "sphincss128sha256robust", None, pk, b"message", b"", sig)
nextssl_root_sign_keygen("sphincss128sha256robust", NULL, pk, sk);
nextssl_root_sign_detached("sphincss128sha256robust", NULL, sk, msg, ctx, sig);
nextssl_root_verify_detached("sphincss128sha256robust", 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, "sphincss128sha256robust", &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.
Similar names
Looking for something else?More digital signatures
All 503Frequently asked questions
What is Sphincss128sha256robust?
Sphincss128sha256robust is a signature in the SPHINCS+ SHA-256 128-bit small robust family. SPHINCS+ SHA-256 128-bit small robust is a round 2 SPHINCS+ parameter record at the 128-bit level.
What are the Sphincss128sha256robust sizes?
In NextSSL, Sphincss128sha256robust uses: public key 32 bytes, signature 1 to 8,080 bytes.
Is Sphincss128sha256robust post-quantum?
Yes. Sphincss128sha256robust is a post-quantum signature: it is designed to resist attacks by large quantum computers. Its tier in NextSSL is unverified.
Who designed Sphincss128sha256robust and when?
Sphincss128sha256robust belongs to the SPHINCS+ SHA-256 128-bit small robust 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 2 submission.
Is Sphincss128sha256robust safe to use?
Sphincss128sha256robust 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).
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