III The two locks
ML-DSA and SLH-DSA are both published standards. They share no maths.
| Lock 1 | Lock 2 | |
|---|---|---|
| Standard | ML-DSA-44 (FIPS 204) | SLH-DSA-SHA2-128s (FIPS 205) |
| Kind of maths | Lattices | Hash functions |
| Public key | 1,312 bytes | 32 bytes |
| Signature | 2,420 bytes | 7,856 bytes |
| Cost to check | 2,690,000 gas | 2,000,000 gas |
Both public keys and both signatures add up to 11,620 bytes per payment. An ordinary Ethereum signature is 65 bytes.
Why these two#
ML-DSA is the main general-purpose standard for post-quantum signatures. It’s fast to sign and to check.
SLH-DSA is slower and larger, but it relies only on hash functions, which have been studied for decades. That makes it a good partner for a newer idea.
The code that checks them#
The plan uses two open-source libraries, mldsa-solidity and slhdsa-solidity. Both follow the official standards. Neither has been audited, which is one reason an outside audit comes before launch.