Redgemss256v2
Hidden-field multivariate signature at the 256-bit level with a 32-byte signature
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 Redgemss256v2
Redgemss256v2 is a digital signature scheme from the RedGeMSS-256 (v2) family. It uses a 72,238-byte public key, a 16-byte secret key and a 1–32-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
RedGeMSS-256 (v2) is a RedGeMSS parameter record in the v2 submission at the 256-bit level. It gives a 72238-byte public key and 32-byte signatures in NextSSL's record.
RedGeMSS-256 (v2) belongs to the GeMSS family of multivariate signatures, which is built on the hidden field equations with vinegar (HFEv-) structure. The secret is a compact trapdoor that lets the signer invert a public system of quadratic equations on a hashed message. The 256-bit label marks the security level the submission targets.
NextSSL's record gives a 72238-byte public key, a 16-byte private key and signatures of up to 32 bytes for redgemss256v2. These sizes are identical for all nine GeMSS, BlueGeMSS and RedGeMSS records in the file, so the record does not separate the families by size and the upstream submission should be checked for the parameter differences.
The GeMSS family has a very large public key and a very short signature, which is the defining trade-off of hidden-field multivariate schemes. The record is unverified, and the design has been the subject of attacks on related HFE parameter choices, so treat the entries as research records. Set against MAYO or MQDSS in this file, GeMSS reverses the usual balance: its signature is far shorter while its public key is far larger.
History
2016–2025NIST calls for post-quantum KEMs and signatures
NIST Post-Quantum Cryptography standardisation69 complete round-1 submissions published
NIST Post-Quantum Cryptography standardisationRedGeMSS-256 published
26 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 standardisationFIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) published
NIST Post-Quantum Cryptography standardisationHQC selected as a second KEM
NIST Post-Quantum Cryptography standardisation
How it works
- KeyGen builds a secret hidden-field equation system with vinegar variables and publishes a public set of quadratic equations.
- Sign hashes the message to a target vector and solves the public system using the trapdoor.
- Verify evaluates the public quadratic equations on the short signature and checks them against the hashed message.
Security notes
HFE-style parameters have been attacked in the literature, and the v2 record is unverified. Public keys are very large, so use the entries for research only.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| pk | 72,238 | Public key |
| sk | 16 | Secret key |
| sig | 1 – 32 | 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", "redgemss256v2", None, outs=2)
sig = root.call("sign_detached", "redgemss256v2", None, sk, b"message", b"")[0]
ok = root.check("verify_detached", "redgemss256v2", None, pk, b"message", b"", sig)
nextssl_root_sign_keygen("redgemss256v2", NULL, pk, sk);
nextssl_root_sign_detached("redgemss256v2", NULL, sk, msg, ctx, sig);
nextssl_root_verify_detached("redgemss256v2", 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, "redgemss256v2", &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 Redgemss256v2?
Redgemss256v2 is a signature in the RedGeMSS-256 (v2) family. RedGeMSS-256 (v2) is a RedGeMSS parameter record in the v2 submission at the 256-bit level.
What are the Redgemss256v2 sizes?
In NextSSL, Redgemss256v2 uses: public key 72,238 bytes, signature 1 to 32 bytes.
Is Redgemss256v2 post-quantum?
Yes. Redgemss256v2 is a post-quantum signature: it is designed to resist attacks by large quantum computers. Its tier in NextSSL is unverified.
Who designed Redgemss256v2 and when?
Redgemss256v2 belongs to the RedGeMSS-256 (v2) family, first published in 2019. Its origin: GeMSS variants (NIST PQC round 2).
Is Redgemss256v2 safe to use?
Redgemss256v2 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
Round 1 multivariate signature whose identifiers give its maximum signature size in bytes
LUOVLifted Unbalanced Oil and Vinegar, a multivariate signature with a 32-byte private key
MAYOOil-and-vinegar multivariate signatures with much smaller public keys than classic UOV
MQDSSFiat-Shamir signatures from the multivariate quadratic problem, with large signatures and tiny keys
MQOMMQ-based signatures using MPC-in-the-head, offered over GF(2) and GF(256) in several categories