[][src]Trait secp256k1_zkp_dev::GenerateKeypair

pub trait GenerateKeypair {
    fn generate_keypair<R: Rng>(&self, rng: &mut R) -> (SecretKey, PublicKey);
}

Required methods

fn generate_keypair<R: Rng>(&self, rng: &mut R) -> (SecretKey, PublicKey)

Generates a random keypair.

Loading content...

Implementations on Foreign Types

impl<C: Signing> GenerateKeypair for Secp256k1<C>[src]

Loading content...

Implementors

Loading content...