Sign something with ML-DSA-65
Make a key, sign a message and check the signature. It all runs in this page with @noble/post-quantum, the same library the wallet signs with. Nothing is sent anywhere, and the key is gone when you close the tab.
Make a key
A random 32-byte seed becomes an ML-DSA-65 key pair. In Qythera, the vault stores the public half.
- Public key
- Secret key
- Took
Show the public key
Sign a message
The wallet signs a 32-byte digest of the action. Here you can sign any text.
The first 33 bytes of your signature, one square per bit.
- Signature
- Took
Show the signature
Check it
Anyone with the public key can check the signature. Change one bit, the message or the key, and it fails.
The message changed after signing. Checking it now should fail.
Bigger than ECDSA, on purpose
ML-DSA-65 keys and signatures are far larger than the ECDSA ones Ethereum accounts use. That size is what the security against quantum computers costs, and why a vault action needs about 3.8M gas to check on-chain.
| ML-DSA-65 | ECDSA (secp256k1) | |
|---|---|---|
| Public key | 1,952 bytes | 33 bytes |
| Signature | 3,309 bytes | 65 bytes |
| Seed you back up | 32 bytes | 32 bytes |
| Safe against a large quantum computer | Designed to be (FIPS 204) | No |