Function chain_crypto::algorithms::sumed25519::sum::keygen
source · pub fn keygen(log_depth: Depth, master: &Seed) -> (SecretKey, PublicKey)
Expand description
Generate a keypair using the seed as master seed for the tree of depth log_depth
After creation the secret key is updatable 2^log_depth, and contains the 0th version of the secret key.
log_depth=3 => 8 signing keys