pub fn generate_key_pair() -> (PublicKey, StaticSecret)
Expand description
Generates a public/private key pair suitable for use with
derive_symmetric_key
, box_seal
, and box_open
.
pub fn generate_key_pair() -> (PublicKey, StaticSecret)
Generates a public/private key pair suitable for use with
derive_symmetric_key
, box_seal
, and box_open
.