Digital signatures

Sphincsf128harakasimple

Stateless hash-based signature with Haraka, 128-bit fast set, signatures up to 16976 bytes

unverified Root API only Post-quantum
Unverified tier.

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 Sphincsf128harakasimple

Sphincsf128harakasimple is a digital signature scheme from the SPHINCS+ Haraka 128-bit fast simple family. It uses a 32-byte public key, a 64-byte secret key and a 1–16,976-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+ Haraka 128-bit fast simple is a round 2 SPHINCS+ parameter record at the 128-bit level. It gives 32-byte public keys and signatures of up to 16976 bytes.

SPHINCS+ Haraka 128-bit fast simple is one of the SPHINCS+ round 2 parameter choices, using Haraka as the hash function at the 128-bit level in the fast configuration. SPHINCS+ is stateless and hash-based, so its security depends only on the properties of Haraka and not on number-theoretic or lattice problems. This entry uses the simple tweakable hash, which is cheaper to compute and rests on a slightly less conservative argument.

NextSSL's record gives a 32-byte public key, a 64-byte private key and signatures of up to 16976 bytes for sphincsf128harakasimple. The small counterpart with the same hash and mode, sphincss128harakasimple, has signatures of up to 8080 bytes. The fast setting accepts the larger signature in exchange for quicker signing. 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–2025
  1. Original SPHINCS published at EUROCRYPT

  2. NIST calls for post-quantum KEMs and signatures

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

  4. 26 candidates advance to round 2

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

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

  7. Standardised as SLH-DSA in FIPS 205

  8. HQC selected as a second KEM

    NIST Post-Quantum Cryptography standardisation

How it works

  1. KeyGen generates random seeds and builds the top of a hypertree of Merkle trees, whose root is the public key.
  2. Sign selects a leaf for the message digest, produces a FORS signature, and authenticates it up the hypertree.
  3. Verify recomputes the roots from the signature and compares them with the public key.

Security notes

The argument relies only on Haraka properties, a conservative assumption. The round 2 record is unverified and was revised before standardisation.

Typical uses

Conservative signatures that assume only hash function securityResearch on SPHINCS+ parameter and hash choices

Sizes

FieldBytesMeaning
pk32Public key
sk64Secret key
sig1 – 16,976Signature
seed0Seed
ctx0Context 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", "sphincsf128harakasimple", None, outs=2)
sig = root.call("sign_detached", "sphincsf128harakasimple", None, sk, b"message", b"")[0]
ok  = root.check("verify_detached", "sphincsf128harakasimple", 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 Sphincsf128harakasimple?

Sphincsf128harakasimple is a signature in the SPHINCS+ Haraka 128-bit fast simple family. SPHINCS+ Haraka 128-bit fast simple is a round 2 SPHINCS+ parameter record at the 128-bit level.

What are the Sphincsf128harakasimple sizes?

In NextSSL, Sphincsf128harakasimple uses: public key 32 bytes, signature 1 to 16,976 bytes.

Is Sphincsf128harakasimple post-quantum?

Yes. Sphincsf128harakasimple is a post-quantum signature: it is designed to resist attacks by large quantum computers. Its tier in NextSSL is unverified.

Who designed Sphincsf128harakasimple and when?

Sphincsf128harakasimple belongs to the SPHINCS+ Haraka 128-bit fast simple 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 Sphincsf128harakasimple safe to use?

Sphincsf128harakasimple 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).