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