EB-BENCH v1.0 · OPEN EMPIRICAL LAB

Ed25519 vs. ECDSA vs. RSA vs. ML-DSA-65

Digital signature migrations face the reverse constraint of key encapsulation: whereas hybrid ML-KEM-768 transfers once per TLS handshake, post-quantum signatures (ML-DSA-65, FIPS 204) multiply every certificate, CT log SCT, and signed token on the wire by ~50×.

1. Live Browser Signature Speed Probe

Measure local signing/verification ops/sec for Ed25519 (native WebCrypto if supported + Noble JS), WebCrypto ECDSA P-256, and NIST FIPS 204 ML-DSA-65 strictly inside a zero-network Web Worker.

Verify EdDSA & ES256 tokens →
Ready. Executes locally under connect-src 'none'.
Signature Scheme Runtime Ops / sec Median CV Sig Size
Ed25519 (Sign / Verify) WebCrypto / Noble Click run — — 64 B
ECDSA P-256 (Sign) WebCrypto Click run — — 64 B
ML-DSA-65 (FIPS 204 Sign+Verify) Pure-ESM Click run — — 3,309 B

2. Exact Normative Key & Signature Sizes

Algorithm Public Key Signature Security Basis
Ed25519 (RFC 8032) 32 B 64 B 128-bit classical (deterministic nonce)
ECDSA P-256 (FIPS 186-5) 65 B (uncomp.) 64 B (raw) 128-bit classical (HSM/TPM standard)
RSA-2048 PSS 256 B 256 B ~112-bit classical (slow keygen/sign)
ML-DSA-65 (FIPS 204 / Dilithium3) 1,952 B 3,309 B NIST Post-Quantum Level 3

3. Certificate Chains & Cookie Limits

Unlike Diffie-Hellman eavesdropping, classical signature forgery requires a live quantum attack during authentication rather than "harvest now, decrypt later". Upgrading intermediate CAs, leaf certificates, and stapled OCSP responses immediately to ML-DSA-65 adds >15 KB to TLS chains before DNS/HTTP cookie budgets stabilize. Wait until Merkle-tree/compressed PQC cert extensions stabilize unless signing long-lived offline roots, software releases, or code manifests.

4. Selection Standard

  • New Classical Auth, SSH, EdDSA JWT & Code Signing: Default to Ed25519 (32 B pub / 64 B deterministic sig).
  • FIPS / Hardware Enclave Passkeys (WebAuthn / HSM): Use ECDSA P-256 (ES256) for native WebCrypto and Secure Enclave execution.
  • Long-Lived Root Authorities & Offline Artifact Anchors: Adopt NIST FIPS 204 ML-DSA-65 where offline PQ resilience outweighs 3.3 KB signature size.

5. Cite This Monograph (BibTeX & Markdown)

BibTeX
@techreport{encryptbench2026sig,
  title       = {Ed25519 vs. ECDSA P-256 vs. RSA-PSS vs. ML-DSA-65: Signatures \& Chain Bloat},
  author      = {{EncryptBench Empirical Lab}},
  year        = {2026},
  month       = nov,
  institution = {EncryptBench},
  note        = {EB-Bench v1.0 Monograph CMP-05, zero-upload connect-src none harness},
  url         = {https://encryptbench.com/compare/ed25519-vs-rsa-vs-ml-dsa/}
}
Markdown
[Ed25519 vs. ECDSA P-256 vs. RSA-PSS vs. ML-DSA-65: Signatures & Chain Bloat](https://encryptbench.com/compare/ed25519-vs-rsa-vs-ml-dsa/) — *EncryptBench Empirical Lab* (EB-Bench v1.0 Monograph CMP-05, Nov 2026).