Perk-128-Short-3-R1
Permutation code equivalence signatures with fast and short settings at 128, 192 and 256 bits
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 Perk-128-Short-3-R1
Perk-128-Short-3-R1 is one of 12 PERK (round 1) variants in the NextSSL registry, a digital signature scheme. It uses a 148-byte public key, a 164-byte secret key and a 1–6,555-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
PERK is a signature based on the permutation code equivalence problem, proved with MPC-in-the-head. The round 1 record lists 128-bit sets with fast and short settings, and the 192 and 256-bit families are named in the other variants.
PERK proves knowledge of a permutation that maps one code to another, using an MPC-in-the-head style zero-knowledge proof. The Fiat-Shamir transform makes the proof a signature. The permutation code equivalence problem is a combinatorial hard problem that is distinct from the lattice and multivariate candidates. The permutation problem is a combinatorial search with no known efficient algorithm, and that hardness is the basis of the security claim.
NextSSL's record lists perk-128-fast-3-r1, perk-128-fast-5-r1, perk-128-short-3-r1 and perk-128-short-5-r1. The fast sets have signatures of up to 8345 and 8026 bytes, and the short sets up to 6555 and 6058 bytes. Public keys are 148 bytes for the 3 sets and 241 bytes for the 5 sets, with private keys of 164 and 257 bytes. The 192 and 256-bit families appear as eight further identifiers.
PERK was an additional-signatures candidate in round 1, and later rounds carry the design forward under the perk-r2 entry. The round 1 record is unverified, so use it for research and comparison. At 128 bits, the fast and short settings differ in signature size by up to about 1800 bytes, so the choice depends on the bandwidth budget.
History
2016–2025NIST calls for post-quantum KEMs and signatures
NIST Post-Quantum Cryptography standardisation69 complete round-1 submissions published
NIST Post-Quantum Cryptography standardisation26 candidates advance to round 2
NIST Post-Quantum Cryptography standardisationRound 3 finalists and alternates announced
NIST Post-Quantum Cryptography standardisationKyber, Dilithium, Falcon and SPHINCS+ selected; round 4 opens
NIST Post-Quantum Cryptography standardisationNIST calls for additional post-quantum signature schemes
NIST additional signatures on-rampPERK published
40 round-1 candidates published
NIST additional signatures on-rampFIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) published
NIST Post-Quantum Cryptography standardisation14 candidates advance to round 2
NIST additional signatures on-rampHQC selected as a second KEM
NIST Post-Quantum Cryptography standardisation
How it works
- KeyGen chooses a secret permutation linking a public code to a transformed code.
- Sign proves knowledge of the permutation in an MPC-in-the-head protocol, committing to the views of the simulated parties.
- The Fiat-Shamir challenge selects which views to open, and the openings form the signature.
- Verify recomputes the challenges and checks the openings for consistency with the public codes.
Security notes
The permutation code equivalence problem is less studied than the classical code problems. The round 1 record is unverified and the design was revised in later rounds.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| pk | 148 | Public key |
| sk | 164 | Secret key |
| sig | 1 – 6,555 | 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", "perk-128-short-3-r1", None, outs=2)
sig = root.call("sign_detached", "perk-128-short-3-r1", None, sk, b"message", b"")[0]
ok = root.check("verify_detached", "perk-128-short-3-r1", None, pk, b"message", b"", sig)
nextssl_root_sign_keygen("perk-128-short-3-r1", NULL, pk, sk);
nextssl_root_sign_detached("perk-128-short-3-r1", NULL, sk, msg, ctx, sig);
nextssl_root_verify_detached("perk-128-short-3-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, "perk-128-short-3-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 PERK (round 1) variants
11Similar names
Looking for something else?More digital signatures
All 503Frequently asked questions
What is Perk-128-Short-3-R1?
Perk-128-Short-3-R1 is a signature in the PERK (round 1) family. PERK is a signature based on the permutation code equivalence problem, proved with MPC-in-the-head.
What are the Perk-128-Short-3-R1 sizes?
In NextSSL, Perk-128-Short-3-R1 uses: public key 148 bytes, signature 1 to 6,555 bytes.
Is Perk-128-Short-3-R1 post-quantum?
Yes. Perk-128-Short-3-R1 is a post-quantum signature: it is designed to resist attacks by large quantum computers. Its tier in NextSSL is unverified.
Who designed Perk-128-Short-3-R1 and when?
Perk-128-Short-3-R1 belongs to the PERK (round 1) family, first published in 2023. Its origin: NIST PQC additional signatures, round 1.
Is Perk-128-Short-3-R1 safe to use?
Perk-128-Short-3-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 PERK (round 1) variants are there?
NextSSL also registers perk-128-fast-3-r1, perk-128-fast-5-r1, perk-128-short-5-r1, perk-192-fast-3-r1, perk-192-fast-5-r1, perk-192-short-3-r1 and more in the PERK (round 1) family.
Related families
Code-based signatures from the restricted syndrome decoding problem
MEDSMatrix code equivalence signatures where each identifier gives the public key size in bytes
MIRATHCode-based signatures using threshold computation in the head, with 1a, 1b, 3a, 3b, 5a and 5b sets
MQOMMQ-based signatures using MPC-in-the-head, offered over GF(2) and GF(256) in several categories
PERKSignatures from the permuted kernel problem, a NIST additional-signatures candidate