Trait ethkey::Generator[][src]

pub trait Generator {
    type Error;
    fn generate(&mut self) -> Result<KeyPair, Self::Error>;
}

Generates new keypair.

Associated Types

Required Methods

Should be called to generate new keypair.

Implementations on Foreign Types

impl Generator for OsRng
[src]

Implementors