pub fn generate_keypair<R: Rng + ?Sized>(rng: &mut R) -> (SecretKey, PublicKey)
Available on crate features global-context and rand only.
Expand description

Generates a random keypair using the global SECP256K1 context.