开发者

php mcrypt - decrypting and encrypting files?

开发者 https://www.devze.com 2022-12-22 06:52 出处:网络
I\'ve been looking around for a php class that allows the decryption / encryption of pgp-encrypted csv files.Everything I\'ve found has been primarily geared towards passwords.I\'m assuming the princi

I've been looking around for a php class that allows the decryption / encryption of pgp-encrypted csv files. Everything I've found has been primarily geared towards passwords. I'm assuming the principles are essentially the same, but was wondering if someone here can point me in the direction of a class specifically intended to receive files via FTP and decrypt them, as well as encrypt files and FTP them elsewhere? It's my first foray into encryption, so hoping that someone can point me to something useful? I'l开发者_StackOverflow社区l keep googling, but would really appreciate some finger-pointing...


mcrypt isn't designed for handling PGP-encrypted files. Best to use GnuPG for them.


For the PGP portion, why not just pipe to gpg. Trying to do the encryption and other related tasks in PHP is going to be quite slow, if you can even find a class to do it.

0

精彩评论

暂无评论...
验证码 换一张
取 消