This proposal introduces quantum-resistant digital signatures to the XRP Ledger (XRPL) using the Dilithium post-quantum cryptographic algorithm. The amendment provides accounts with the ability to use quantum-resistant signatures for enhanced security against future quantum computing threats while maintaining backward compatibility with existing signature schemes.
Motivation and Rationale
As quantum computing advances, current cryptographic signatures (secp256k1, ed25519) may become vulnerable to quantum attacks. This proposal adds support for Dilithium, a NIST-standardized post-quantum signature algorithm, ensuring long-term security for XRPL accounts.
Amendment
This feature enables accounts to use quantum-resistant signatures with an optional enforcement mechanism.
The amendment adds:
Support for Dilithium signature algorithm (KeyType::dilithium = 2)
New account flag lsfForceQuantum to enforce quantum-resistant signatures
Updated key generation, encoding, and verification systems
Development Branch
Implementation Repository
The quantum-resistant signatures implementation is currently under active development in the following branch:
// From seed
auto seed = generateSeed("masterpassphrase");
auto keyPair = generateKeyPair(KeyType::dilithium, seed);
// Random generation
auto secretKey = randomSecretKey(KeyType::dilithium);
auto publicKey = derivePublicKey(KeyType::dilithium, secretKey);