rnp_decrypt
PHP Manual
PHP Manual»Rnp İşlevleri»rnp_decrypt

rnp_decrypt

(PECL rnp >= 0.1.1)

rnp_decrypt — Decrypt PGP message

Açıklama

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

Bağımsız Değişkenler

ffi

rnp_ffi_create tarafından döndürülen FFI nesnesi.

input

Encrypted message.

Dönen Değerler

Decrypted message on success başarısızlık durumunda false döner.

To Top