rnp_decrypt
PHP function
Edit on GitHub ✎
(PECL rnp >= 0.1.1)
Decrypt PGP message
Description
rnp_decrypt(RnpFFI $ffi, string $input): string|false
Private keys used for decryption should be loaded into the FFI object before calling this function. If password encryption was used, then password provider should be set by calling rnp_ffi_set_pass_provider().
Parameters
ffiFfi-description
inputEncrypted message.
Return Values
Decrypted message on successFalseforfailure.