Web3 Learning

What Is ML-DSA?

By Safeheron Team

ML-DSA (Module-Lattice-Based Digital Signature Algorithm) is a set of algorithms for generating and verifying digital signatures, specified by the US National Institute of Standards and Technology (NIST) in FIPS 204, and part of post-quantum cryptography. FIPS 204 was published and took effect on August 13, 2024, and states that ML-DSA is believed to be secure even against adversaries with a large-scale quantum computer. NIST positions it as the primary standard for protecting digital signatures.

Where Does ML-DSA Come From?

ML-DSA comes from CRYSTALS-Dilithium, one of the schemes selected in NIST’s post-quantum cryptography standardization process. FIPS 204 states that ML-DSA is based on CRYSTALS-Dilithium and lists the differences between the two in an appendix. Its security rests on the Module Learning With Errors (MLWE) problem, a type of lattice problem, rather than the integer factorization RSA relies on or the elliptic curve discrete logarithm ECDSA relies on.

What Parameter Sets Does ML-DSA Have, and How Large Are Its Keys and Signatures?

FIPS 204 specifies three parameter sets for different security strengths: ML-DSA-44 is in security category 2, ML-DSA-65 in category 3 and ML-DSA-87 in category 5. According to Table 2 of FIPS 204, ML-DSA-44 has a 2560-byte private key, a 1312-byte public key and a 2420-byte signature; ML-DSA-65 has 4032, 1952 and 3309 bytes respectively; and ML-DSA-87 has 4896, 2592 and 4627 bytes.

FIPS 204 also defines two ways to sign. The default is the “hedged” variant, which uses two kinds of randomness when signing; the standard also permits a fully deterministic variant for signers without access to fresh randomness at signing time, but it should not be used on platforms where side-channel attacks are a concern and cannot otherwise be mitigated. FIPS 204 additionally defines HashML-DSA, which hashes the message before signing.

How Is ML-DSA Different From ECDSA?

The first difference is resistance to quantum attacks. ECDSA relies on the discrete logarithm problem in elliptic curve cryptography; NIST IR 8547 states that the digital signature algorithms in FIPS 186, including ECDSA, are vulnerable to Shor’s algorithm, and plans to deprecate them after 2030 and disallow them after 2035. ML-DSA is based on lattice problems and is the primary post-quantum digital signature standard NIST has released.

The second is size. An ECDSA signature of equivalent strength is about 64 bytes, and the compressed public keys Bitcoin uses are 33 bytes; even the smallest set, ML-DSA-44, has a 1312-byte public key and a 2420-byte signature, about 38 times the size of the ECDSA signature.

Can ML-DSA Be Used for Threshold Signatures?

FIPS 204 itself specifies an algorithm for a single signer and does not define threshold signing. On January 20, 2026, NIST published NIST IR 8214C, NIST First Call for Multi-Party Threshold Schemes, inviting public submissions of multi-party threshold schemes covering NIST-approved primitives such as signatures, encryption and key generation; each submission must include a technical specification, an open-source reference implementation and a report on experimental evaluation.

Safeheron is also researching this area. As Safeheron described in its weekly cryptography update, it is currently researching ML-DSA-65 threshold signing: the private key is spread across multiple parties, signatures are produced through their collaboration, and the resulting signatures can be verified with existing FIPS 204 implementations.

Conclusion

ML-DSA is the post-quantum digital signature algorithm NIST specifies in FIPS 204. It comes from CRYSTALS-Dilithium, is based on module lattice problems and has three parameter sets: ML-DSA-44, 65 and 87. Its public keys and signatures are much larger than ECDSA’s, and threshold schemes fall within the scope of NIST’s call for multi-party threshold schemes.

Safeheron’s MPC Wallet-as-a-Service provides businesses with MPC key management and a policy engine.

Is your business preparing for post-quantum signatures?

Contact Safeheron’s Sales Team to Book a 1:1 Demo

Share

Looking for a secure way to manage digital assets?

Talk to our experts and find the right solution for your business.

Request a Demo