pub fn decrypt<R: CryptoRngCore + ?Sized>(
rng: Option<&mut R>,
priv_key: &RsaPrivateKey,
c: &BigUint
) -> Result<BigUint>
Available on crate feature
expose-internals
only.Expand description
Performs raw RSA decryption with no padding, resulting in a plaintext BigUint
.
Peforms RSA blinding if an Rng
is passed.