Digital signatures

Perk-256-Fast-5-R2

Signatures from the permuted kernel problem, a NIST additional-signatures candidate

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 Perk-256-Fast-5-R2

Perk-256-Fast-5-R2 is one of 6 PERK variants in the NextSSL registry, a digital signature scheme. It uses a 507-byte public key, a 539-byte secret key and a 1–31,664-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 post-quantum signature scheme built from a zero-knowledge proof of knowledge for a variant of the permuted kernel problem, made non-interactive with the Fiat-Shamir transform. It is a Round 2 candidate in NIST's additional signatures process.

In the permuted kernel problem (PKP), one is given a matrix and a vector and must find a permutation of the vector's entries that places it in the matrix's kernel. PKP has been studied since the 1980s, when Shamir proposed an identification scheme based on it. PERK uses a relaxed multi-vector variant and proves knowledge of the secret permutation with an MPC-in-the-head style protocol in which permutations are secret-shared across simulated parties.

Public keys are small and signatures are a few kilobytes to around ten kilobytes, depending on the profile. Six variants from the Round 2 specification are present: security levels 128, 192 and 256 in the fast profile, each with two internal protocol options labelled 3 and 5 in the specification. The scheme is still evolving as the NIST evaluation process continues.

History

2022–2024
  1. NIST calls for additional post-quantum signature schemes

    NIST additional signatures on-ramp
  2. PERK published

  3. 40 round-1 candidates published

    NIST additional signatures on-ramp
  4. 14 candidates advance to round 2

    NIST additional signatures on-ramp

How it works

  1. KeyGen samples a secret permutation and publishes the matrix seed and permuted vectors that lie in its kernel.
  2. Sign secret-shares the permutation across simulated parties and commits to their computations.
  3. A Fiat-Shamir challenge selects which views to open.
  4. Verify checks the opened views against the commitments and public key.

Security notes

PKP is an old problem, but the multi-vector variant and PERK's parameters are newer and still under NIST evaluation. The NextSSL wiring has not been verified against official vectors.

Typical uses

Signatures with an assumption independent of lattices and codesCandidate evaluation in the NIST additional signatures processResearch on MPC-in-the-head with permutations

Sizes

FieldBytesMeaning
pk507Public key
sk539Secret key
sig1 – 31,664Signature
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", "perk-256-fast-5-r2", None, outs=2)
sig = root.call("sign_detached", "perk-256-fast-5-r2", None, sk, b"message", b"")[0]
ok  = root.check("verify_detached", "perk-256-fast-5-r2", 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 Perk-256-Fast-5-R2?

Perk-256-Fast-5-R2 is a signature in the PERK family. PERK is a post-quantum signature scheme built from a zero-knowledge proof of knowledge for a variant of the permuted kernel problem, made non-interactive with the Fiat-Shamir transform.

What are the Perk-256-Fast-5-R2 sizes?

In NextSSL, Perk-256-Fast-5-R2 uses: public key 507 bytes, signature 1 to 31,664 bytes.

Is Perk-256-Fast-5-R2 post-quantum?

Yes. Perk-256-Fast-5-R2 is a post-quantum signature: it is designed to resist attacks by large quantum computers. Its tier in NextSSL is unverified.

Who designed Perk-256-Fast-5-R2 and when?

Perk-256-Fast-5-R2 belongs to the PERK family, first published in 2023. Its origin: NIST additional signatures Round 2.

Is Perk-256-Fast-5-R2 safe to use?

Perk-256-Fast-5-R2 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 variants are there?

NextSSL also registers perk-128-fast-3-r2, perk-128-fast-5-r2, perk-192-fast-3-r2, perk-192-fast-5-r2, perk-256-fast-3-r2 in the PERK family.