private static getRSADP ( |
||
$key | ||
$c | ||
리턴 |
private static function getRSADP(RSAKey $key, BigInteger $c)
{
if ($c->compare(BigInteger::createFromDecimal(0)) < 0 || $c->compare($key->getModulus()) > 0) {
return false;
}
return self::exponentiate($key, $c);
}