Digital signatures

Meds134180-R1

Matrix code equivalence signatures where each identifier gives the public key size in 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 Meds134180-R1

Meds134180-R1 is one of 7 MEDS variants in the NextSSL registry, a digital signature scheme. It uses a 134,180-byte public key, a 9,968-byte secret key and a 1–132,528-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–2025
  1. NIST calls for post-quantum KEMs and signatures

    NIST Post-Quantum Cryptography standardisation
  2. 69 complete round-1 submissions published

    NIST Post-Quantum Cryptography standardisation
  3. 26 candidates advance to round 2

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

    NIST Post-Quantum Cryptography standardisation
  5. Kyber, Dilithium, Falcon and SPHINCS+ selected; round 4 opens

    NIST Post-Quantum Cryptography standardisation
  6. NIST calls for additional post-quantum signature schemes

    NIST additional signatures on-ramp
  7. MEDS published

  8. 40 round-1 candidates published

    NIST additional signatures on-ramp
  9. FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) published

    NIST Post-Quantum Cryptography standardisation
  10. 14 candidates advance to round 2

    NIST additional signatures on-ramp
  11. HQC selected as a second KEM

    NIST Post-Quantum Cryptography standardisation

How it works

  1. KeyGen picks a random matrix code and a secret equivalence between it and a public code.
  2. Sign proves knowledge of the equivalence using a zero-knowledge protocol, with challenges derived from the commitments and the message.
  3. The signature carries the opened responses that let a verifier check the equivalence.
  4. 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

Research into matrix code equivalence signaturesComparisons with other code-based candidates such as MIRATH and PERK

Sizes

FieldBytesMeaning
pk134,180Public key
sk9,968Secret key
sig1 – 132,528Signature
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", "meds134180-r1", None, outs=2)
sig = root.call("sign_detached", "meds134180-r1", None, sk, b"message", b"")[0]
ok  = root.check("verify_detached", "meds134180-r1", 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 Meds134180-R1?

Meds134180-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 Meds134180-R1 sizes?

In NextSSL, Meds134180-R1 uses: public key 134,180 bytes, signature 1 to 132,528 bytes.

Is Meds134180-R1 post-quantum?

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

Who designed Meds134180-R1 and when?

Meds134180-R1 belongs to the MEDS family, first published in 2023. Its origin: NIST PQC additional signatures, round 1.

Is Meds134180-R1 safe to use?

Meds134180-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, meds167717-r1, meds41711-r1, meds55604-r1, meds9923-r1, toy-r1 in the MEDS family.