Expand description
Simple sr25519 (Schnorr-Ristretto) API.
Note: CHAIN_CODE_LENGTH must be equal to crate::crypto::JUNCTION_ID_LEN
for this to work.
Modules§
- vrf
- Schnorrkel VRF related types and operations.
Structs§
- Pair
- An Schnorrkel/Ristretto x25519 (“sr25519”) key pair.
Constants§
- CRYPTO_ID 
- An identifier used to match public keys against sr25519 keys
- PUBLIC_KEY_ SERIALIZED_ SIZE 
- The byte length of public key
- SIGNATURE_SERIALIZED_ SIZE 
- The byte length of signature
Type Aliases§
- ProofOfPossession 
- Proof of Possession is the same as Signature for sr25519
- Public
- An Schnorrkel/Ristretto x25519 (“sr25519”) public key.
- Signature
- An Schnorrkel/Ristretto x25519 (“sr25519”) signature.