Trait signatory::FromEd25519Seed[][src]

pub trait FromEd25519Seed: Sized {
    fn from_seed<S: Into<Seed>>(seed: S) -> Self;
}

Trait for Ed25519 signers that can be initialized from a seed value

Required Methods

Create a new Ed25519 signer from a seed (i.e. unexpanded private key)

Seed values are 32-bytes of uniformly random data. This is in contrast to an Ed25519 "keypair", which is 64-bytes and includes both the seed value and the public key.

Implementors