pub fn keypair() -> Result<(PublicKey, PrivateKey)>
Generate a public and private key for asymmetric encryption.