pub fn generate_keypair<R: Rng + ?Sized>(rng: &mut R) -> (SecretKey, PublicKey)
global-context
rand
Generates a random keypair using the global SECP256K1 context.
SECP256K1