Function hdk::x_salsa20_poly1305::create_x25519_keypair[][src]

pub fn create_x25519_keypair() -> ExternResult<X25519PubKey>

Generate a new x25519 keypair in lair from entropy. Only the pubkey is returned from lair because the secret key never leaves lair. @todo ability to export secrets from lair in encrypted format to send to other agents.