Function hdk::x_salsa20_poly1305::create_x25519_keypair
source · [−]pub fn create_x25519_keypair() -> ExternResult<X25519PubKey>
Expand description
Generate a new x25519 keypair in lair from entropy. Only the pubkey is returned from lair because the secret key never leaves lair.