ML-DSA (Dilithium): The Post-Quantum Lattice Signature Standard
ML-DSA (Module-Lattice Digital Signature Algorithm), standardized as FIPS 204 in August 2024, is NIST’s primary post-quantum signature scheme. It descends from the CRYSTALS-Dilithium submission and is the designated replacement for RSA and ECDSA signatures in TLS certificates, code signing, and document signing as the post-quantum migration proceeds.
How it works
ML-DSA operates on module lattices: vectors of polynomials with coefficients modulo q = 8,380,417, reduced modulo X^256 + 1. Its security rests on two lattice problems believed hard for classical and quantum computers alike:
- MLWE (Module Learning With Errors): recovering the secret from noisy lattice equations, which protects the public key
- MSIS (Module Short Integer Solution): finding short lattice vectors, which protects against forgery
Signing uses the Fiat-Shamir-with-aborts construction. The signer derives a challenge from the message, computes a response, and checks that the response satisfies a safety norm. If it does not, the signer retries with a new challenge. The aborted attempts are discarded and never revealed, which is what makes each released signature statistically independent of the secret key. Verification recomputes the challenge from the message and the response, checks that the response is short enough, and uses a short hint in the signature to reconstruct the commitment from a public key that stores only the high-order bits of the vector t = A·s₁ + s₂. No sampling is involved, which keeps verification fast and easy to implement in constant time.
Parameter sets
| Parameter set | NIST security level | Public key | Signature |
|---|---|---|---|
| ML-DSA-44 | Category 2 (~128-bit) | 1,312 B | 2,420 B |
| ML-DSA-65 | Category 3 (~192-bit) | 1,952 B | 3,309 B |
| ML-DSA-87 | Category 5 (~256-bit) | 2,592 B | 4,627 B |
ML-DSA-65 is the common default and pairs with ML-KEM-768, the key encapsulation mechanism already deployed in TLS.
Performance
All ML-DSA arithmetic is integer-only polynomial multiplication via the Number Theoretic Transform. There is no floating point and no discrete Gaussian sampling, which makes implementations straightforward to harden against timing side channels. That is the main reason NIST selected it as the default signature: FN-DSA (Falcon) produces smaller signatures but is considerably harder to implement securely. Key generation, signing, and verification all complete in tens to hundreds of microseconds on commodity CPUs, and the 1,952-byte public key of ML-DSA-65 fits comfortably in an X.509 certificate.
Signing modes
ML-DSA defines two signing modes. Deterministic signing derives the entire computation from the key and the message, so the same message always yields the same signature. Hedged signing also mixes in fresh randomness, which keeps the scheme safe if the random source is weak and guards against the fault attacks that purely deterministic signing invites. Implementations such as OpenSSL 3.5 default to the hedged mode; both are standardized and interoperable on the verification side.
Adoption
- OpenSSL 3.5, liboqs, BoringSSL, and major cloud KMS and HSM products ship ML-DSA.
- Bitcoin’s BIP-360 names ML-DSA as a candidate signature for quantum-resistant outputs; Ethereum’s protocol debates have leaned toward hash-based options instead (see the blockchain PQC overview).
Related
- FN-DSA (Falcon): the compact lattice alternative, and why it is harder to implement
- SLH-DSA (SPHINCS+): the hash-based fallback with the most conservative assumptions
- Post-Quantum Algorithms: Why We Need Them and What We Chose
- Post-Quantum Solutions for Blockchains and Cryptocurrencies