Trait FmdKeyGen

Source
pub trait FmdKeyGen<SK, PK> {
    // Required method
    fn generate_keys<R: RngCore + CryptoRng>(&mut self, rng: &mut R) -> (SK, PK);
}
Expand description

A trait to generate the keypair of the FMD scheme.

Depending on implementations, the generated keypair can be compact.

Required Methods§

Source

fn generate_keys<R: RngCore + CryptoRng>(&mut self, rng: &mut R) -> (SK, PK)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§