Post-quantum cryptography uses schemes designed to withstand attacks by a sufficiently powerful quantum computer. For widely used elliptic curve signatures such as Ed25519 and ECDSA, such a computer running Shor's algorithm could derive the private key from a public key and use it to forge signatures. This affects blockchains and many other systems. Ethereum's roadmap includes a move to quantum-resistant cryptography, Ripple has published a migration roadmap for the XRP Ledger, Algorand has used Falcon signatures in production since 2022 and supports Falcon-secured accounts on mainnet, and Bitcoin has draft proposals, including BIP-361 on migrating away from legacy signatures.
On 13 August 2024 NIST published ML-DSA (FIPS 204) and SLH-DSA (FIPS 205), the first two signature standards from its post-quantum standardization process. Depending on the parameter set, an ML-DSA signature is 2,420 to 4,627 bytes and an SLH-DSA signature 7,856 to 49,856 bytes, compared with 64 bytes for Ed25519. Hash functions are less affected: Grover's algorithm speeds up the search for an input that matches a given hash, and a longer hash output makes up for that.
On mainnet, Cardano uses Ed25519 signatures to authorize payments, staking and governance. Its consensus also relies on elliptic curve cryptography in the VRF that decides whether a stake pool may produce a block and in the KES scheme that signs block headers. Mithril uses BLS-based aggregate signatures, and the designs of Leios and Peras use aggregate signatures for their certificates. Plutus scripts can verify Ed25519 signatures as well as ECDSA and Schnorr signatures over secp256k1. Two open problem statements cover the transition: CPS-0030 for the settlement layer and CPS-0027 for signature verification in Plutus. Both leave the choice of scheme open, and a separate candidate proposal would add ML-DSA and SLH-DSA verification to Plutus. One question CPS-0030 raises is how larger signatures and keys would affect how fast blocks and other messages spread across the network.
Als Nächstes entdecken
- KESKey Evolving Signatures. Block-signing keys that move forward in time to limit the damage of a key compromise.Begriff ansehen
- VRFA cryptographic function that produces a verifiably random output; Cardano uses it inside Ouroboros as a private per-slot lottery, letting each pool check whether it won the right to produce a block, fairly and unpredictably.Begriff ansehen
- Hard ForkA network upgrade that changes the blockchain's rules in a way older software versions no longer understand; every node has to update before the change takes effect.Begriff ansehen