Function generate_keypair

Source
pub fn generate_keypair(key_type: KeyType) -> Result<(PrivateKey, PublicKey)>
Expand description

Generate a new keypair for the specified key type