IntelligenceAlgorithmsml-dsa
ML-DSA
The Module-Lattice-Based Digital Signature Algorithm derived from CRYSTALS-Dilithium, specified in FIPS 204. It is the general-purpose lattice signature among the NIST post-quantum standards, with larger keys and signatures than ECDSA. It is designed to resist known quantum attacks; that is a design goal, not a proof.
In short
What a quantum computer changes.
- Quantum effect
- Designed to resist
- Family
- Post-quantumRests on module learning with errors and module short integer solution.
- What it means
- This scheme rests on module learning with errors and module short integer solution for which no efficient quantum algorithm is known. Shor's algorithm does not apply to it, and the best published quantum attacks give only a modest speed-up at the recommended parameters. That is a design goal backed by public analysis, not a proof. These schemes are newer than the ones they replace, so implementation mistakes and side channels matter as much as the mathematics, and recommended parameters can change as analysis continues.
This describes the family, not any project that uses it.
26 in the catalogue
Packages that provide it
| Package | Provides |
|---|---|
| josenpm | JWS, JWE, JWT and JWK for Node.js, browsers and other WebCrypto runtimes, with RSA, ECDSA, Ed25519 and ML-DSA signatures, HMAC, RSA-OAEP, ECDH-ES and AES key management, AES-GCM and AES-CBC-HMAC content encryption and PBES2. |
| @simplewebauthn/servernpm | Server-side WebAuthn (passkey) registration and authentication, verifying ECDSA P-256, P-384 and P-521, Ed25519, RSA and ML-DSA signatures from authenticators. |
| @noble/post-quantumnpm | Pure TypeScript post-quantum library: ML-KEM (FIPS 203), ML-DSA (FIPS 204), SLH-DSA (FIPS 205), Falcon, and hybrid KEMs including X-Wing (ML-KEM-768 with X25519). |
| dilithium-crystalsnpm | The Dilithium signature scheme compiled to WebAssembly with a JavaScript wrapper, defaulting to the Dilithium5 parameter set. |
| pqcleannpm | Node.js native and WebAssembly bindings to PQClean, covering ML-KEM, HQC and Classic McEliece key encapsulation and ML-DSA, SPHINCS+ and Falcon signatures. |
| @mysten/suinpm | Sui TypeScript SDK with Ed25519, secp256k1, secp256r1 and ML-DSA-65 key pairs, passkeys, multisig, BLAKE2b addresses and zkLogin Poseidon hashing. |
| near-api-jsnpm | NEAR Protocol JavaScript library whose key pairs and signers support Ed25519, secp256k1 and ML-DSA-65. |
| @taquito/signernpm | Tezos in-memory signer for Ed25519, secp256k1, P-256, BLS and ML-DSA-44 keys, with BIP-39 mnemonics and PBKDF2 and NaCl secretbox encrypted secret keys. |
| aws-lc-rscrates.io | ring-compatible Rust API over the AWS-LC C library, adding ML-KEM, ML-DSA, RSA encryption, raw AES modes and an optional FIPS build. |
| aws-lc-syscrates.io | Low-level generated FFI bindings to the AWS-LC C cryptography library, which aws-lc-rs wraps. |
| boringcrates.io | Rust bindings to BoringSSL with TLS support, RSA, DSA, Diffie-Hellman, ECDSA and ECDH, Ed25519 and X25519, ML-KEM, ML-DSA, HPKE, AEAD ciphers, hashes, HMAC and key derivation. |
| botancrates.io | Rust wrapper for the Botan C++ library, exposing ciphers, hashes, MACs, KDFs, password hashing, random generators, X.509 and classical and post-quantum public key algorithms. |
| libcruxcrates.io | Re-export crate for the libcrux library of formally verified implementations, including ML-KEM, ML-DSA, X25519, P-256 ECDSA and ECDH, Ed25519, RSA-PSS, AES-GCM, ChaCha20-Poly1305, SHA-2, SHA-3, BLAKE2, HMAC, HKDF and HPKE. |
| libcrux-ml-dsacrates.io | Rust implementation of ML-DSA-44, ML-DSA-65 and ML-DSA-87 (FIPS 204) with portable and AVX2 code, parts of it formally verified. |
| orioncrates.io | Pure Rust library offering ML-KEM, ML-DSA, X-Wing, HPKE, X25519, (X)ChaCha20-Poly1305, BLAKE2b, BLAKE3, SHA-2, SHA-3, HMAC, HKDF, PBKDF2, Argon2 and scrypt. |
| ml-dsacrates.io | Pure Rust ML-DSA-44, ML-DSA-65 and ML-DSA-87 signatures as specified in FIPS 204 (final). |
| fips204crates.io | Pure Rust, no_std implementation of all three ML-DSA parameter sets from FIPS 204. |
| oqscrates.io | Rust interface to the liboqs C library of post-quantum key encapsulation and signature schemes. |
| pqcryptocrates.io | Umbrella crate re-exporting the pqcrypto-* bindings to PQClean C implementations of ML-KEM, Classic McEliece, HQC, ML-DSA, Falcon and SPHINCS+. |
| pqcrypto-mldsacrates.io | Rust bindings to the PQClean C implementations of ML-DSA-44, ML-DSA-65 and ML-DSA-87. |
| pqcrypto-dilithiumcrates.io | Rust bindings to the PQClean C implementations of Dilithium2, Dilithium3 and Dilithium5. |
| rustls-post-quantumcrates.io | rustls crypto provider built on aws-lc-rs that adds post-quantum key exchange and experimental ML-DSA signatures. |
| rustls-webpkicrates.io | Web PKI X.509 certificate path validation for rustls, verifying ECDSA, Ed25519, RSA and ML-DSA certificate signatures through ring or aws-lc-rs. |
| rcgencrates.io | X.509 certificate, CSR and CRL generator that signs with ECDSA, Ed25519, RSA or ML-DSA keys. |
| sequoia-openpgpcrates.io | OpenPGP (RFC 9580 and RFC 4880) implementation with RSA, DSA, ECDSA, ECDH, EdDSA, X25519 and X448 keys, post-quantum ML-KEM, ML-DSA and SLH-DSA algorithms, AES and SHA-1, SHA-2 and SHA-3 hashes. |
| near-cryptocrates.io | NEAR key and signature types for Ed25519, secp256k1 and ML-DSA-65 (FIPS 204), with an in-memory signer and a VRF module. |
1 listed
Sources
- FIPS 204: Module-Lattice-Based Digital Signature Standardcsrc.nist.govRetrieved 3 December 2026
Full record
- Identifier
- ml-dsa
- Kind
- signature
- Family
- Post-quantum
- Rests on
- module learning with errors and module short integer solution
- Quantum effect
- Designed to resist
Standards
- FIPS 204Module-Lattice-Based Digital Signature StandardNIST, final, published 13 August 2024Checked 3 December 2026