pub fn decrypt_and_check<R: RngCore + CryptoRng>(
    rng: Option<&mut R>,
    priv_key: &RsaPrivateKey,
    c: &BigUint
) -> Result<BigUint>
Available on crate feature expose-internals only.
Expand description

Performs RSA decryption, resulting in a plaintext BigUint. Peforms RSA blinding if an Rng is passed. This will also check for errors in the CRT computation.