BigInt decrypt(RSAPrivateKey privateKey, BigInt c) { BigInt result = c.modPow(privateKey.privateExponent!, privateKey.modulus!); return result; }