Dilithium-Recommended-R1
Round 1 module-lattice signature with four named parameter sets, later refined into ML-DSA
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 Dilithium-Recommended-R1
Dilithium-Recommended-R1 is one of 4 CRYSTALS-Dilithium (round 1) variants in the NextSSL registry, a digital signature scheme. It uses a 1,472-byte public key, a 3,504-byte secret key and a 1–2,701-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
The round 1 CRYSTALS-Dilithium submission is a lattice signature based on Module-LWE and Module-SIS. It offered four parameter sets, from weak to very-high, and is the ancestor of the FIPS 204 ML-DSA standard.
CRYSTALS-Dilithium is a lattice signature built on module lattices and the Fiat-Shamir with aborts approach. The round 1 submission in NextSSL's record, dilithium-weak-r1 through dilithium-very-high-r1, sets out four named parameter sets of increasing strength. The design was revised for round 2 and later finalised as ML-DSA, so the round 1 forms are historical and not for new deployments.
Public keys range from 896 bytes in the weak set to 1184 bytes in medium, 1472 bytes in recommended and 1760 bytes in very-high. Private keys run from 2096 to 3856 bytes. The maximum signature sizes rise in the same order: 1487, 2044, 2701 and 3366 bytes. Each step up buys a larger security margin at the cost of bigger keys and signatures.
The round 1 specification has no standard status. Its key generation, signing and verification follow the same structure as the later Dilithium and ML-DSA designs, so the lattice security analysis largely carries over, but the parameters changed between rounds. Developers should use the FIPS 204 ML-DSA parameter sets instead. Comparing round 1 with the later FIPS 204 values shows how much the parameter choices moved between submissions.
History
2016–2025NIST calls for post-quantum KEMs and signatures
NIST Post-Quantum Cryptography standardisationCRYSTALS-Dilithium published
69 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 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 samples a public matrix from a seed and short secret vectors, then publishes a rounded matrix-vector product as the public key.
- Sign commits to a masked vector, derives a challenge from the commitment and the message, and returns a response that is rejected if it could leak the secret.
- Verify recomputes the commitment from the response and public key, applies the rounding hints and checks the challenge hash.
Security notes
The lattice problems underneath are well studied, but these round 1 parameters were superseded before standardisation. The record is unverified, so the entries are for research and comparison only.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| pk | 1,472 | Public key |
| sk | 3,504 | Secret key |
| sig | 1 – 2,701 | 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", "dilithium-recommended-r1", None, outs=2)
sig = root.call("sign_detached", "dilithium-recommended-r1", None, sk, b"message", b"")[0]
ok = root.check("verify_detached", "dilithium-recommended-r1", None, pk, b"message", b"", sig)
nextssl_root_sign_keygen("dilithium-recommended-r1", NULL, pk, sk);
nextssl_root_sign_detached("dilithium-recommended-r1", NULL, sk, msg, ctx, sig);
nextssl_root_verify_detached("dilithium-recommended-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, "dilithium-recommended-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 CRYSTALS-Dilithium (round 1) variants
3Similar names
Looking for something else?More digital signatures
All 503Frequently asked questions
What is Dilithium-Recommended-R1?
Dilithium-Recommended-R1 is a signature in the CRYSTALS-Dilithium (round 1) family. The round 1 CRYSTALS-Dilithium submission is a lattice signature based on Module-LWE and Module-SIS.
What are the Dilithium-Recommended-R1 sizes?
In NextSSL, Dilithium-Recommended-R1 uses: public key 1,472 bytes, signature 1 to 2,701 bytes.
Is Dilithium-Recommended-R1 post-quantum?
Yes. Dilithium-Recommended-R1 is a post-quantum signature: it is designed to resist attacks by large quantum computers. Its tier in NextSSL is unverified.
Who designed Dilithium-Recommended-R1 and when?
Dilithium-Recommended-R1 belongs to the CRYSTALS-Dilithium (round 1) family, first published in 2017 by Leo Ducas, Eike Kiltz, Tancrede Lepoint, Vadim Lyubashevsky, Peter Schwabe, Gregor Seiler, Damien Stehle. Its origin: NIST PQC standardisation, round 1 submission.
Is Dilithium-Recommended-R1 safe to use?
Dilithium-Recommended-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 CRYSTALS-Dilithium (round 1) variants are there?
NextSSL also registers dilithium-medium-r1, dilithium-very-high-r1, dilithium-weak-r1 in the CRYSTALS-Dilithium (round 1) family.
Related families
Round 2 Dilithium submission offering SHAKE-based and AES-based expansion of the public matrix
CRYSTALS-Dilithium (Round 3)The Round 3 submission of Dilithium, predecessor of the ML-DSA standard
Falcon (round 1)Compact NTRU-lattice signature using fast Fourier sampling, the basis of FN-DSA
ML-DSANIST's primary post-quantum signature scheme, standardised in FIPS 204
SLH-DSAStateless hash-based signatures standardised in FIPS 205, relying only on hash functions