Trait iop_keyvault::KeyDerivationCrypto[][src]

pub trait KeyDerivationCrypto: AsymmetricCrypto {
    type ExtendedPrivateKey: ExtendedPrivateKey<Self>;
    type ExtendedPublicKey: ExtendedPublicKey<Self>;
    fn master(seed: &Seed) -> Self::ExtendedPrivateKey;
}

An implementation of this trait defines a family of types that fit together to extend AsymmetricCrypto with the ability to have a hierarchical deterministic wallet, so a tree of private and public keys all derived from a single master secret.

Associated Types

Loading content...

Required methods

fn master(seed: &Seed) -> Self::ExtendedPrivateKey[src]

Does not seem to completely belong here, but calculates the master extended private key - the root of a hierarchical deterministic wallet - from a given seed. All other keys are derived from this one extended private key.

Loading content...

Implementors

Loading content...