deltachat::pgp

Function create_keypair

Source
pub(crate) fn create_keypair(addr: EmailAddress) -> Result<KeyPair>
Expand description

Create a new key pair.

Both secret and public key consist of signing primary key and encryption subkey as described in the Autocrypt standard.