Function rsa::internals::decrypt_and_check [−][src]
pub fn decrypt_and_check<R: Rng>(
rng: Option<&mut R>,
priv_key: &RSAPrivateKey,
c: &BigUint
) -> Result<BigUint>
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.