gnupg_decrypt Decrypts a given text &reftitle.description; stringgnupg_decrypt resourceidentifier stringtext Decrypts the given text with the keys, which were set with gnupg_adddecryptkey before. &reftitle.returnvalues; On success, this function returns the decrypted text. On failure, this function returns &false;. &reftitle.examples; Procedural <function>gnupg_decrypt</function> example ]]> OO <function>gnupg_encrypt</function> example adddecryptkey("8660281B6051D071D94B5B230549F9DC851566DC","test"); $plain = $gpg -> decrypt($encrypted_text); echo $plain; ?> ]]>