gnupg_decrypt
PECL gnupg >= 0.1
gnupg_decrypt - Decrypts a given text
Manual
gnupg_decrypt(
resource$identifier,
string$text ): string
Decrypts the given text with the keys, which were set with gnupg_adddecryptkey before.
Parameters
- identifier
-
The gnupg identifier, from a call to gnupg_init or gnupg.
- text
-
The text being decrypted.
Return Values
On success, this function returns the decrypted text. On failure, this function returns false.