I need to use the PGP encryption. Need to create the public and private keys and encrypt the data of file with PGP encryption technique. How to do all these with PHP code?
I tried installing gnupg, but that isn't working. Then tried using OpenPGP library like example - How do you use the PHP OpenPGP library?
But these things didn't worked.