本文介绍了php mcrypt - 解密和加密文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在寻找允许对pgp加密的csv文件进行解密/加密的php类。我发现的一切都主要面向密码。我假设原则本质上是一样的,但是想知道有人在这里可以指出一个专门打算通过FTP接收文件并解密的类的方向,以及在其他地方加密文件和FTP吗?这是我第一次加密,所以希望有人能指出我有用的东西吗?我会继续搜索,但真的会感激一些指尖...

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'll keep googling, but would really appreciate some finger-pointing...

推荐答案

mcrypt不是为处理PGP而设计的加密文件。最好为他们使用。

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

这篇关于php mcrypt - 解密和加密文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-05 15:31