ML-DSA vs RSA-2048: Post-Quantum Signatures for PKI Compared
RSA-2048 underpins most of today’s PKI: root and issuing CAs, TLS server certificates, code signing and device identity. ML-DSA, formerly CRYSTALS-Dilithium and standardised by NIST as FIPS 204, is the primary post-quantum signature algorithm designed to replace it. This guide compares the two on security, size and operational impact, and explains what changes when you design a post-quantum certificate chain. Figures come from the NIST standards; design recommendations are labelled as SafeCipher’s view.
What is ML-DSA?
ML-DSA (Module-Lattice-Based Digital Signature Algorithm) is specified in NIST FIPS 204, published on 13 August 2024. NIST describes FIPS 204 as “the primary standard for protecting digital signatures”. Its security rests on lattice problems that are believed to be hard for both classical and quantum computers. RSA, by contrast, relies on integer factorisation, which Shor’s algorithm would solve efficiently on a cryptographically relevant quantum computer.
FIPS 204 defines three parameter sets: ML-DSA-44, ML-DSA-65 and ML-DSA-87. It also specifies a pre-hash variant (HashML-DSA) for cases where the message is hashed before signing.
Is RSA-2048 still secure?
Against classical computers, RSA-2048 is rated at 112 bits of security strength in NIST SP 800-57 Part 1. Against a future quantum computer it offers no meaningful protection, and neither does RSA-3072 or RSA-4096. The final NIST IR 8547 (October 2026) lists RSA signatures of at least 112 bits as deprecated after 2030 and disallowed after 2035. See RSA-2048 deprecation explained.
ML-DSA vs RSA-2048 at a glance
| RSA-2048 | ML-DSA-44 | ML-DSA-65 | ML-DSA-87 | |
|---|---|---|---|---|
| Basis | Integer factorisation | Module lattices | Module lattices | Module lattices |
| Classical security strength | 112 bits | 128 bits | 192 bits | 256 bits |
| NIST PQC security category | n/a (quantum-vulnerable) | 2* | 3 | 5 |
| Public key (bytes) | 256 (modulus) | 1,312 | 1,952 | 2,592 |
| Private key (bytes) | n/a | 2,560 | 4,032 | 4,896 |
| Signature (bytes) | 256 | 2,420 | 3,309 | 4,627 |
| NIST status | Deprecated after 2030, disallowed after 2035 | Approved (FIPS 204) | ||
Sources: ML-DSA sizes from FIPS 204, Table 2; security strengths and categories from NIST IR 8547, Table 3; RSA-2048 strength from SP 800-57 Part 1, Table 2. RSA public key size shows the 2,048-bit modulus only; the encoded key in a certificate is slightly larger. *NIST IR 8547 notes that ML-DSA-44 drops to category 1 if used with an approved random bit generator of less than 192 bits of security.
The headline is size. An ML-DSA-65 signature is roughly 13 times the size of an RSA-2048 signature, and its public key is roughly 7.6 times larger.
Which ML-DSA parameter set should you use?
The NCSC states that all ML-DSA parameter sets “provide an acceptable level of security for personal, enterprise and OFFICIAL-tier government information”. It recommends ML-DSA-65 “as providing appropriate levels of security and efficiency for most use cases” (NCSC, Next steps in preparing for PQC). It also notes that smaller parameter sets may suit constrained devices or situations where size or performance is a concern.
SafeCipher view: choose per tier, not per estate. Long-lived trust anchors, which are used rarely but must stay trustworthy for many years, justify evaluating the higher category (ML-DSA-87). High-volume issuing CAs and end-entity certificates are where size and handshake cost bite, so ML-DSA-65 is the natural default, in line with the NCSC. ML-DSA-44 should be reserved for constrained or short-lived cases where your policy explicitly allows it. Record the decision and its rationale in your certificate policy.
What happens to certificate chain size?
Every certificate in a chain carries a public key and a signature from its issuer. Using the FIPS 204 sizes, an ML-DSA-65 intermediate signed by an ML-DSA-65 root carries about 5.3 KB of key and signature material, before names, extensions and encoding. The RSA-2048 equivalent carries about 0.5 KB. In TLS the server sends its leaf and intermediate certificates and a signature over the handshake, so a typical two-certificate chain moves from about 1.3 KB to about 13.8 KB of cryptographic material.
SafeCipher view: this is manageable for most server-to-server traffic but needs design attention:
- Keep chains short. Every extra intermediate adds several kilobytes.
- Consider certificate compression (RFC 8879) where both ends support it. Note that compression cannot shrink high-entropy signatures much.
- Test constrained paths: IoT links, legacy middleboxes, and protocols where large messages cause fragmentation. The NCSC cites IKEv2 fragmentation as an example of a protocol constraint.
- Budget for revocation payloads: CRLs and OCSP responses are signed too.
We cover performance in more depth in ML-DSA certificate chains and TLS 1.3 performance.
Should you use hybrid or composite certificates?
The NCSC says hybrid authentication is “significantly more complex” than hybrid key establishment. It notes there is “not yet guidance or a consensus” on how to do it securely. In a PKI, hybrid authentication needs either a PKI that can produce both kinds of signature or two parallel PKIs. Given that complexity, the NCSC says “a single migration to a fully post-quantum PKI is preferred to adopting an intermediate PQ/T hybrid PKI”.
Its October 2026 TLS guidance adds that the IETF has so far standardised post-quantum algorithms only for key exchange in TLS. Post-quantum authentication in TLS and the wider Web PKI is still being standardised, and “organisations operating private PKIs may be able to adopt post-quantum authentication sooner”.
SafeCipher view: for most enterprises, the practical model is a parallel post-quantum hierarchy alongside the existing classical one. Certificates are selected per relying party as each one becomes capable. Public-facing services stay classical until the Web PKI is ready; see our analysis of Chrome’s quantum-resistant root programme.
Are CA platforms and HSMs ready for ML-DSA?
Support varies by product and version, so check each vendor’s own documentation rather than relying on marketing claims. For example, HashiCorp’s Vault 2.x release notes state that its PKI engine supports ML-DSA X.509 certificates. Its documentation also says ML-DSA CAs do not currently support ACME or OCSP (see our Vault PKI guide). Limits like these are typical of what an architecture review needs to surface.
For HSMs, the questions are whether ML-DSA keys can be generated and used inside the module, under which firmware, and with what validation status. The answers have to come from the vendor’s documentation for your model. Our article on the myth of quantum-ready HSMs explains why a “PQC-ready” label is not enough.
Designing a post-quantum PKI: what to decide first
- Hierarchy: how many tiers, and where the new post-quantum root sits relative to existing roots.
- Parameter sets per tier, recorded in policy.
- Key custody: which HSMs hold post-quantum CA keys, and how ceremonies, backup and audit evidence work.
- Relying parties: which clients, devices and partners can validate ML-DSA, and how the new root will reach their trust stores.
- Revocation and automation: which protocols your platform supports for ML-DSA issuers.
SafeCipher view: architecture before algorithms. Choosing ML-DSA is the easy part. The real work is establishing whether your CAs, HSMs, trust relationships and governance can actually carry it.
Can your architecture actually support post-quantum migration?
SafeCipher’s PQC Architecture Readiness Assessment independently determines whether your existing cryptographic architecture can carry post-quantum migration before you commit budget to algorithms or products. That covers your PKI, HSMs, certificate authorities, key custody, trust relationships and governance. Architecture before algorithms.
Go deeper: read POST-QUANTUM PKI by Stephen Monti, on planning and building post-quantum certificate hierarchies.
