Function pgp::native::crypto::ecdsa::generate_key

source ·
pub fn generate_key<R>(
    rng: &mut R,
    curve: ECCCurve
) -> Result<(PublicParams, PlainSecretParams), Error>where
    R: Rng + CryptoRng,
Expand description

Generate an ECDSA KeyPair.