PHP 8.4.1 Released!

rnp_decrypt

(PECL rnp >= 0.1.1)

rnp_decryptDecrypt PGP message

Beschreibung

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().

Parameter-Liste

ffi

Das von rnp_ffi_create zurückgegebene FFI-Objekt.

input

Encrypted message.

Rückgabewerte

Decrypted message on successBei einem Fehler wird false zurückgegeben..

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top