|
PHP5中文手册
gnupg_decrypt(PECL gnupg:0.1-1.3.1) gnupg_decrypt — Decrypts a given text 说明
string gnupg_decrypt
( resource $identifier
, string $text
)
Decrypts the given text with the keys, which were set with gnupg_adddecryptkey before. 返回值On success, this function returns the decrypted text. On failure, this function returns FALSE. 范例
Example#1 Procedural gnupg_decrypt() example
<?php Example#2 OO gnupg_encrypt() example
<?php |