pub trait RandomKeyPair: Sized {
// Required method
fn generate_with_address(rng: &mut StdRng) -> (Address, Self);
}Expand description
Random key-pair generation for the get_key_pair helpers, implemented for
the fastcrypto authority/network keypairs and the SDK account keys.
Required Methods§
fn generate_with_address(rng: &mut StdRng) -> (Address, Self)
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.