rsaDp

fnBigInt rsaDp(RSAPrivateKey key, BigInt c)

RSA decryption primitive (RSADP) - unblinded version.

Warning: This function does not use blinding and may be vulnerable

to timing side-channel attacks. For security-critical applications, use rsaDpBlinded instead.

Parameters

keyRSA private key.
cCiphertext representative (0 <= c < n).

Returns

Message representative m = c^d mod n.

Throws

CryptoException if c is out of range.