Signature playground: ML-DSA-65 next to Ed25519
A digital signature proves who wrote something and that it was not changed. Sign your own message with the classical Ed25519 and the post-quantum ML-DSA-65, edit one character, and see verification fail for both.
This is a teaching tool, not an audit. It runs real ML-DSA-65 and Ed25519 code in your browser, but keys are made fresh in the page and are not tied to any identity.
Generate key pairs
One key pair per algorithm. The secret key signs; the public key verifies.
Write a message and sign it
Verify
Verification runs against the message currently in the box, using the signatures made in step 2. Edit one character above and watch the result change.
Sign a message in step 2 first.
Compare sizes and speed
Sizes are fixed by the algorithms. Timings are measured on your device when you press the button.
| Ed25519 | ML-DSA-65 | |
|---|---|---|
| Public key (bytes) | 32 | 1,952 |
| signature (bytes) | 64 | 3,309 |
| Key generation (ms) | - | - |
| Signing (ms) | - | - |
| Verification (ms) | - | - |
Median of 15 samples (each averaging 8 calls) after one warm-up call, using JavaScript implementations (@noble libraries). ML-DSA signing time varies from run to run by design. Use the numbers to compare, not as benchmarks.
What this shows
A signature is made with a private key and checked with a public key. Change a single character of the message, or a single bit of the signature, and verification must fail. That property is what lets software updates, certificates and contracts be trusted.
Signatures are a different kind of quantum risk from key exchange. Encrypted traffic recorded today can be decrypted later, so key exchange has to move first (harvest now, decrypt later). A signature, by contrast, only matters when it is checked: a forger needs a quantum computer at the time they forge. That makes signatures a later deadline, except where a signature must stay trustworthy for decades: firmware, root certificates, legal documents.
ML-DSA (FIPS 204) replaces both RSA and elliptic-curve signatures in the NIST plan. The price is size: a ML-DSA-65 public key is 1,952 bytes and a signature 3,309 bytes, against 32 and 64 bytes for Ed25519. A certificate chain carries several of each, which is why post-quantum certificates are a harder migration than post-quantum key exchange.