rsaDp
fn
BigInt rsaDp(RSAPrivateKey key, BigInt c)RSA decryption primitive (RSADP) - unblinded version.
Warning: This function does not use blinding and may be vulnerableto timing side-channel attacks. For security-critical applications, use rsaDpBlinded instead.
Parameters
key | RSA private key. |
c | Ciphertext representative (0 <= c < n). |
Returns
Message representative m = c^d mod n.
Throws
CryptoException if c is out of range.