Function pgp::gen_key_pair
source · pub async fn gen_key_pair(
email: impl ToString,
passphrase: impl ToString
) -> Result<(SignedSecretKey, SignedPublicKey)>
Expand description
Generates a new pair of secret and public keys for the given email address and passphrase.