Méthode |
Description |
|
convertIntegerToOctetString ( BigInteger $x, integer $xLen ) : string |
Integer-to-Octet-String primitive. |
|
convertOctetStringToInteger ( string $x ) : BigInteger |
Octet-String-to-Integer primitive. |
|
encodeEMSAPSS ( string $m, integer $emBits, Hash $hash ) : string | boolean |
EMSA-PSS-ENCODE. |
|
encryptRSAESOAEP ( RSAKey $key, string $m, Hash $hash ) : string |
RSAES-OAEP-ENCRYPT. |
|
exponentiate ( RSAKey $key, BigInteger $c ) : BigInteger |
Exponentiate with or without Chinese Remainder Theorem. |
|
getMGF1 ( string $mgfSeed, integer $maskLen, Hash $mgfHash ) : string |
MGF1. |
|
getRSADP ( RSAKey $key, BigInteger $c ) : BigInteger | false |
RSA DP. |
|
getRSAEP ( RSAKey $key, BigInteger $m ) : BigInteger | false |
RSA EP. |
|
getRSAESOAEP ( RSAKey $key, string $c, Hash $hash ) : string |
RSAES-OAEP-DECRYPT. |
|
getRSASP1 ( RSAKey $key, BigInteger $m ) : BigInteger | false |
RSA SP1. |
|
getRSAVP1 ( RSAKey $key, BigInteger $s ) : BigInteger | false |
RSAVP1. |
|
verifyEMSAPSS ( string $m, string $em, integer $emBits, Hash $hash ) : boolean |
EMSA-PSS-VERIFY. |
|