Picnicl5fs
LowMC and MPC-in-the-head signature at level 5 using Fiat-Shamir transform, up to 132876 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 Picnicl5fs
Picnicl5fs is a digital signature scheme from the Picnic level 5 (Fiat-Shamir) family. It uses a 65-byte public key, a 97-byte secret key and a 1–132,876-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
Picnic level 5 (Fiat-Shamir) is a Picnic parameter record at level 5, built from the LowMC cipher and MPC-in-the-head. The record gives 65-byte public keys and signatures of up to 132876 bytes.
Picnic level 5 (Fiat-Shamir) is a Picnic signature at security level 5, built from the LowMC block cipher and MPC-in-the-head. The signer simulates a multiparty evaluation of the cipher, commits to each party's view, and the verifier checks random openings. This entry uses a Fiat-Shamir transform to turn the proof into a signature.
NextSSL's record gives a 65-byte public key, a 97-byte private key and signatures of up to 132876 bytes for picnicl5fs. The other Picnic records at this level in the file are picnic2l5fs (54752 bytes), picnic3l5 (61028 bytes), picnicl5full (126286 bytes), picnicl5ur (209526 bytes), so the signature sizes show how the transform and construction change the output at the same security level.
Picnic is a symmetric-key-only design that has no standard status, and the record is unverified. Its large signatures make it a research and comparison entry rather than a general-purpose choice. Its appeal is the minimal assumption set: security rests on the cipher and the hash, with no lattice or code structure to attack.
History
2017–2017Picnic level 5 published
How it works
- KeyGen picks a LowMC key and computes the cipher output for a public input, which becomes the public key.
- Sign runs the cipher evaluation inside a simulated multiparty computation and commits to each party's view.
- The chosen transform derives the challenge, and the signature contains the opened views.
- Verify recomputes the challenged views and checks them against the public key.
Security notes
The symmetric primitives are well studied, but signatures are large and the record is unverified. Confirm the transform against the submission before use.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| pk | 65 | Public key |
| sk | 97 | Secret key |
| sig | 1 – 132,876 | 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", "picnicl5fs", None, outs=2)
sig = root.call("sign_detached", "picnicl5fs", None, sk, b"message", b"")[0]
ok = root.check("verify_detached", "picnicl5fs", None, pk, b"message", b"", sig)
nextssl_root_sign_keygen("picnicl5fs", NULL, pk, sk);
nextssl_root_sign_detached("picnicl5fs", NULL, sk, msg, ctx, sig);
nextssl_root_verify_detached("picnicl5fs", 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, "picnicl5fs", &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 Picnicl5fs?
Picnicl5fs is a signature in the Picnic level 5 (Fiat-Shamir) family. Picnic level 5 (Fiat-Shamir) is a Picnic parameter record at level 5, built from the LowMC cipher and MPC-in-the-head.
What are the Picnicl5fs sizes?
In NextSSL, Picnicl5fs uses: public key 65 bytes, signature 1 to 132,876 bytes.
Is Picnicl5fs post-quantum?
Yes. Picnicl5fs is a post-quantum signature: it is designed to resist attacks by large quantum computers. Its tier in NextSSL is unverified.
Who designed Picnicl5fs and when?
Picnicl5fs belongs to the Picnic level 5 (Fiat-Shamir) family, first published in 2017 by Melissa Chase, David Derler, Steven Goldfeder, Claudio Orlandi, Sebastian Ramacher, Christian Rechberger, Daniel Slamanig, Greg Zaverucha.
Is Picnicl5fs safe to use?
Picnicl5fs 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
Signatures built only from the AIM symmetric one-way function, with no lattice or code assumptions
FAEST (round 2)Round 2 AES-based VOLE-in-the-head signatures, with smaller signatures than round 1 at 128 bits
Picnic (round 3)Signatures from LowMC and MPC-in-the-head, the symmetric-key design used by Picnic's third round
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