略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: rnp_decrypt

2025-02-27

rnp_decrypt

(PECL rnp >= 0.1.1)

rnp_decryptDecrypt PGP message

说明

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

参数

ffi

The FFI object returned by rnp_ffi_create.

input

Encrypted message.

返回值

Decrypted message on success 或者在失败时返回 false.

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。

官方地址:https://www.php.net/manual/en/function.rnp-decrypt.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3