pgp

Encrypt files using PGP in PHP?

青春壹個敷衍的年華 提交于 2019-11-26 09:00:03
问题 I want to use PGP encryption to encrypt a CSV files, I am generating through a PHP script and then send that file to client via email. Client will give me the encryption key, which I need to use for encryption files. I Googled about PGP and found it is Pretty Good Privacy, also I found OpenPGP http://www.openpgp.org/ and GnuPG http://www.gnupg.org/ What are these two types of PGP? and which one should I use? Also how to encrypt a files using PGP in PHP with the key that my client will provide