Method |
Description |
|
decrypt ( string $ciphertext, PrivateKey $rsaPrivateKey ) : string |
Encrypt a message with defuse/php-encryption, using an ephemeral key,
then encrypt the key with RSA. |
|
encrypt ( string $plaintext, PublicKey $rsaPublicKey ) : string |
Encrypt a message with defuse/php-encryption, using an ephemeral key,
then encrypt the key with RSA. |
|
sign ( string $message, PrivateKey $rsaPrivateKey ) : string |
Sign with RSASS-PSS + MGF1+SHA256 |
|
verify ( string $message, string $signature, PublicKey $rsaPublicKey ) : boolean |
Verify with RSASS-PSS + MGF1+SHA256 |
|