Function pgp::crypto::rsa::generate_key

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

Generate an RSA KeyPair.