ML-DSA explained: ML-DSA-44, 65 and 87 sizes, security levels and where it works today

On this page
  1. Sizes, next to what you use now
  2. Which parameter set to pick
  3. Pure ML-DSA, HashML-DSA and "external mu"
  4. Where it works today
  5. Standards for using it
  6. Can I get an ML-DSA certificate for my website?
  7. What to do about signatures now

ML-DSA is NIST's main post-quantum signature algorithm, standardized as FIPS 204 in August 2024 and previously known as CRYSTALS-Dilithium. It comes in three sizes. ML-DSA-44 (NIST category 2), ML-DSA-65 (category 3) and ML-DSA-87 (category 5) have signatures of 2,420, 3,309 and 4,627 bytes, against 64 bytes for Ed25519. You can use it today in OpenSSL 3.5, Go 1.27, Java 24+, .NET 10, pyca/cryptography 48, AWS and Google Cloud KMS, Android 17 and Apple's iOS 26 CryptoKit. You can't yet get a publicly trusted ML-DSA certificate for a website.

Sizes, next to what you use now

From FIPS 204, in bytes:

AlgorithmSecurityPublic keyPrivate keySignature
ML-DSA-44NIST category 21,3122,5602,420
ML-DSA-65NIST category 31,9524,0323,309
ML-DSA-87NIST category 52,5924,8964,627
Ed25519classical, ~128-bit323264
RSA-2048classical, ~112-bit~256—256

The size is the real cost. A TLS handshake carries a signature and a public key for every certificate in the chain, plus the CertificateVerify signature, so a chain of ML-DSA-44 certificates adds kilobytes compared with ECDSA. That's the main reason browsers are pursuing Merkle Tree Certificates instead of dropping ML-DSA into today's X.509 chains (more below).

Speed isn't the problem. In Cloudflare's 2026 comparison, with ML-DSA-44 set to 1, Ed25519 signs about 7 times faster but verifies slightly slower (1.3), and RSA-2048 signs 80 times slower. AWS reports ML-DSA-44 on Graviton4 "comes close to ECDSA".

Which parameter set to pick

Pure ML-DSA, HashML-DSA and "external mu"

FIPS 204 defines two modes. Pure ML-DSA signs the message itself, and FIPS 204 says it "is preferred". HashML-DSA signs a hash of the message with domain separation, and its signatures are not interchangeable with pure ones. A third pattern catches people out: external μ computes the 64-byte message representative outside the signer, so an HSM or KMS never sees a large message. It produces ordinary pure ML-DSA signatures. AWS KMS requires external μ for messages over 4 KB and documents it as different from HashML-DSA.

If a verifier rejects signatures that a library produced, check the mode first.

Where it works today

PlatformML-DSA supportNotes
OpenSSL3.5+ (April 2025)All three sets; LTS until April 2030
BoringSSL / AWS-LCYesBoringSSL added ML-DSA in TLS (libssl) in April 2026
Go1.27 (August 2026)crypto/mldsa; crypto/x509 and crypto/tls support ML-DSA keys and schemes. Not in 1.26
JavaJDK 24+ (JEP 497)KeyPairGenerator/Signature, default ML-DSA-65; not used by JSSE for TLS
.NET10MLDsa class; needs OpenSSL 3.5+ on Linux or current Windows 11
Pythonpyca/cryptography 48.0+47.0 worked only on AWS-LC/BoringSSL builds
RustRustCrypto ml-dsaUnaudited, per its own docs
Bouncy CastleJava 1.79+, C# 2.6.1Including ML-DSA in CMS SignedData
AWS KMSML_DSA_44/65/87 key specsExternal μ for messages over 4 KB
Google Cloud KMSGA July 2026All three sets, pure and external μ
Azure Key VaultNoRSA, EC and oct only; Windows Server 2025 AD CS can issue ML-DSA certificates
Android 17KeystoreML-DSA-65 and -87 only
AppleCryptoKit, iOS/macOS 26MLDSA65 and MLDSA87, including Secure Enclave keys
OpenSSH10.6 enables ssh-mldsa44-ed25519Hybrid ML-DSA-44 + Ed25519; keys from the 10.4 experiment must be regenerated

The OpenSSH entry answers a common question. You can now generate a post-quantum SSH key (ssh-keygen -t mldsa44-ed25519 on 10.6+), but it protects authentication, not confidentiality. What stops harvest-now-decrypt-later on SSH is the key exchange, mlkem768x25519-sha256, which OpenSSH has used by default since 10.0. See post-quantum SSH.

Standards for using it

Can I get an ML-DSA certificate for my website?

Not a publicly trusted one, as of December 2026. Chrome said in February 2026 that it "has no immediate plan" to accept post-quantum X.509 certificates in its root store. It plans to support Merkle Tree Certificates, with a quantum-resistant root store for them targeted for Q3 2027. Let's Encrypt has also chosen MTCs, with production planned for 2027, and Cloudflare says it will issue post-quantum MTCs from Q1 2027. CA/Browser Forum proposals to allow ML-DSA in TLS certificates haven't passed. S/MIME is ahead: ML-DSA has been allowed there since August 2025.

Private PKI is different. If you control both ends (service mesh, internal APIs, device fleets), OpenSSL 3.5 and Go 1.27 can already use ML-DSA certificates.

What to do about signatures now

Signatures are less urgent than key exchange. A recorded handshake protected by classical key exchange can be decrypted years later, but a signature only has to hold at the moment it's checked. The exceptions are signatures that must stay valid for a long time: firmware and secure-boot keys, code signing, and long-lived roots of trust. That's why the NSA's December 2026 statement singles out "quantum-resistant firmware signatures and hardware roots of trust", and why CNSA 2.0 wants software and firmware signing exclusively post-quantum (ML-DSA-87, or LMS/XMSS) by 2030.

A sensible order: switch TLS and SSH key exchange to hybrid ML-KEM now (checklist), then inventory your long-lived signing keys and plan their move to ML-DSA or LMS. Web certificates come last, through MTCs, once browsers ship them.

pqshift handles the first step for GitHub repositories: it opens pull requests that add hybrid ML-KEM key exchange and proves each one in CI. It also flags RSA and ECDSA signing code in its scan, so the signing inventory starts from real call sites.

FAQ

What is ML-DSA?

ML-DSA (Module-Lattice-Based Digital Signature Algorithm) is NIST's primary post-quantum signature standard, FIPS 204 (August 2024), formerly CRYSTALS-Dilithium.

How big are ML-DSA signatures?

ML-DSA-44: 2,420 bytes with a 1,312-byte public key. ML-DSA-65: 3,309 and 1,952. ML-DSA-87: 4,627 and 2,592. Ed25519 signatures are 64 bytes.

Which ML-DSA parameter set should I use?

ML-DSA-65 is the common default; ML-DSA-87 is required for US national security systems under CNSA 2.0; ML-DSA-44 is smallest and is used by OpenSSH's hybrid mldsa44-ed25519 key type.

Can I get a publicly trusted ML-DSA TLS certificate?

Not as of December 2026. Chrome and Let's Encrypt are pursuing Merkle Tree Certificates for 2027 instead of ML-DSA in today's X.509 chains. Private PKI can use ML-DSA certificates now.

Is ML-DSA the same as Dilithium?

ML-DSA is the standardized version of CRYSTALS-Dilithium. They are not wire-compatible: FIPS 204 changed details, so use ML-DSA implementations.

Sources