generate_keypair

Function generate_keypair 

Source
pub fn generate_keypair<R: RngCore + CryptoRng>(
    rng: &mut R,
) -> (PrivateKey, PublicKey)
Expand description

Generate a new private key, along with its associated public key.