Function x25519_key_gen

Source
pub fn x25519_key_gen(
    rng: &mut (impl CryptoRng + Rng),
) -> Result<(PrivateKey, PublicKey), Error>
Expand description

Generate a new P256 key pair