Function pgp::crypto::ecdsa::generate_key
source · pub fn generate_key<R: Rng + CryptoRng>(
rng: &mut R,
curve: &ECCCurve
) -> Result<(PublicParams, PlainSecretParams)>
Expand description
Generate an ECDSA KeyPair.