Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个任务需要
php中使用gpg加密上传文件
我的代码是:
("echo '1234' | gpg --passphrase-fd 0 -c /path/aaa.jpg ");
它通过将代码粘贴到linux中来工作
但不适用于 php 任何解决方案
您需要使用gnupg_decypt()来解密文本。