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