IntelligenceAlgorithmssr25519
sr25519 (Schnorrkel)
Schnorr signatures on the Ristretto255 group built from Curve25519, implemented by the schnorrkel library. It is the default account signature scheme in Polkadot and other Substrate chains.
In short
What a quantum computer changes.
- Quantum effect
- Broken by Shor's algorithm
- Family
- Classical public keyRests on elliptic-curve discrete logarithm.
- What it means
- Shor's algorithm, run on a large, fault-tolerant quantum computer, factors large numbers and solves discrete logarithms, including those on elliptic curves, far faster than any known classical method. The security of this algorithm rests on elliptic-curve discrete logarithm, which is one of those problems. Anyone with such a machine could work out a private key from the matching public key. Signatures could then be forged, and data protected by a key exchange built on this algorithm could be decrypted, including traffic recorded now and kept for later. Longer keys do not fix this. The usual answer is to plan a move to a post-quantum or hybrid scheme.
This describes the family, not any project that uses it.
5 in the catalogue
Packages that provide it
| Package | Provides |
|---|---|
| @polkadot/util-cryptonpm | Polkadot crypto utilities: sr25519, Ed25519 and secp256k1 keys and signatures, BLAKE2, Keccak, SHA-2, HMAC, PBKDF2, scrypt, NaCl secretbox and encrypted JSON. |
| @polkadot/wasm-cryptonpm | WebAssembly build of the Rust primitives behind @polkadot/util-crypto: sr25519, Ed25519, secp256k1, BLAKE2b, Keccak, SHA-2, HMAC, PBKDF2, scrypt and BIP-39. |
| @polkadot/keyringnpm | Polkadot key management for sr25519, Ed25519 and secp256k1 key pairs, with encrypted JSON export using scrypt and NaCl secretbox. |
| schnorrkelcrates.io | Schnorr signatures on the Ristretto group (sr25519) with hierarchical key derivation, MuSig and a VRF, as used by Polkadot and Substrate. |
| sp-corecrates.io | Shared Substrate and Polkadot SDK types, including sr25519, Ed25519 and secp256k1 ECDSA key pairs and signatures and Blake2 and Keccak hashers. |
3 listed
Sources
- schnorrkel: Schnorr VRFs and signatures on the Ristretto groupgithub.comRetrieved 3 December 2026
- Ristretto: The Ristretto Groupristretto.groupRetrieved 3 December 2026
- Polkadot Wiki: Cryptography on Polkadotwiki.polkadot.networkRetrieved 3 December 2026
Full record
- Identifier
- sr25519
- Kind
- signature
- Family
- Classical public key
- Rests on
- elliptic-curve discrete logarithm
- Quantum effect
- Broken by Shor's algorithm
Standards
No standard is listed for this algorithm.