pub trait KeyDerivationCrypto: AsymmetricCrypto {
    type ExtendedPrivateKey: ExtendedPrivateKey<Self>;
    type ExtendedPublicKey: ExtendedPublicKey<Self>;

    fn master(seed: &Seed) -> Self::ExtendedPrivateKey;
}
Expand description

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.

Required Associated Types

Required Methods

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.

Implementors