I downloaded the OpenPGP example code mentioned in question How do you use the PHP OpenPGP library?.
I faced following error when I tried to access keygen.php
:
Fatal error: Call to undefined method OpenPGP_Message::signature_and_data() in D:\official\data\sites\openpgp\lib\openpgp_crypt_rsa.php on line 145
Infact, none of three is working. Can you please explain how to fix these issues?