PHP.nl

rnp_decrypt

rnp_decrypt

Decrypt PGP message

 **rnp_decrypt** RnpFFI $ffi string $input

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

ffirnp.parameter.ffi-description

inputEncrypted message.

Decrypted message on successreturn.falseforfailure.