[][src]Function exonum_btc_anchoring::btc::secp_gen_keypair_with_rng

pub fn secp_gen_keypair_with_rng<R>(
    rng: &mut R,
    network: Network
) -> (PublicKey, PrivateKey) where
    R: Rng

Computes a bitcoin private key and a corresponding public key using a given pseudo-random number generator.