Function pgp::crypto::rsa::encrypt [−][src]
pub fn encrypt<R: CryptoRng + Rng>(
rng: &mut R,
n: &[u8],
e: &[u8],
plaintext: &[u8]
) -> Result<Vec<Vec<u8>>>
Expand description
RSA encryption using PKCS1v15 padding.