Meds55604-R1
Matrix code equivalence signatures where each identifier gives the public key size in 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 Meds55604-R1
Meds55604-R1 is one of 7 MEDS variants in the NextSSL registry, a digital signature scheme. It uses a 55,604-byte public key, a 5,872-byte secret key and a 1–54,736-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
MEDS is a signature based on the matrix code equivalence problem and is a round 1 candidate in NIST's additional signatures process. Its record has several parameter sets whose identifiers match the public key size in bytes.
MEDS is built on the matrix code equivalence problem, which asks whether two matrix codes are equivalent under row and column transformations. The signer proves knowledge of such an equivalence, and the Fiat-Shamir transform makes the proof a signature. It is one of the code-based and combinatorial candidates in the additional signatures process.
NextSSL's record lists meds13220-r1, meds41711-r1, meds134180-r1 and meds167717-r1 directly, and meds55604-r1, meds9923-r1 and toy-r1 among the other variants. In every listed set the number in the identifier equals the public key size in bytes, so meds41711-r1 has a 41711-byte public key. Private keys are between 2416 and 12444 bytes, and signatures are large, from 12976 to 165464 bytes.
The toy-r1 identifier is a small test parameter set and is not intended for deployment. The other sets are round 1 candidates with no standard status, and the record is unverified, so NextSSL carries them for research only. The large sizes make MEDS more relevant as a research comparison than as a practical signature, which is why the record is kept for that purpose.
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-rampMEDS 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 picks a random matrix code and a secret equivalence between it and a public code.
- Sign proves knowledge of the equivalence using a zero-knowledge protocol, with challenges derived from the commitments and the message.
- The signature carries the opened responses that let a verifier check the equivalence.
- Verify recomputes the challenges and checks the responses against the public codes.
Security notes
The matrix code equivalence problem is less studied than the classical code problems. Signatures are large and the round 1 record is unverified, so the parameters should be treated as provisional.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| pk | 55,604 | Public key |
| sk | 5,872 | Secret key |
| sig | 1 – 54,736 | 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", "meds55604-r1", None, outs=2)
sig = root.call("sign_detached", "meds55604-r1", None, sk, b"message", b"")[0]
ok = root.check("verify_detached", "meds55604-r1", None, pk, b"message", b"", sig)
nextssl_root_sign_keygen("meds55604-r1", NULL, pk, sk);
nextssl_root_sign_detached("meds55604-r1", NULL, sk, msg, ctx, sig);
nextssl_root_verify_detached("meds55604-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, "meds55604-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 MEDS variants
6More digital signatures
All 503Frequently asked questions
What is Meds55604-R1?
Meds55604-R1 is a signature in the MEDS family. MEDS is a signature based on the matrix code equivalence problem and is a round 1 candidate in NIST's additional signatures process.
What are the Meds55604-R1 sizes?
In NextSSL, Meds55604-R1 uses: public key 55,604 bytes, signature 1 to 54,736 bytes.
Is Meds55604-R1 post-quantum?
Yes. Meds55604-R1 is a post-quantum signature: it is designed to resist attacks by large quantum computers. Its tier in NextSSL is unverified.
Who designed Meds55604-R1 and when?
Meds55604-R1 belongs to the MEDS family, first published in 2023. Its origin: NIST PQC additional signatures, round 1.
Is Meds55604-R1 safe to use?
Meds55604-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 MEDS variants are there?
NextSSL also registers meds13220-r1, meds134180-r1, meds167717-r1, meds41711-r1, meds9923-r1, toy-r1 in the MEDS family.
Related families
Code-based KEM on binary Goppa codes: very large public keys, tiny ciphertexts
CROSSCode-based signatures from the restricted syndrome decoding problem
MIRATHCode-based signatures using threshold computation in the head, with 1a, 1b, 3a, 3b, 5a and 5b sets
PERKSignatures from the permuted kernel problem, a NIST additional-signatures candidate
WAVEHash-and-sign code-based signatures with signatures under 1.7 kilobytes and very large public keys