命令行加解密工具

tar加密压缩
tar -czvf - file | openssl des3 -salt -k passw0rd -out /path/to/file.tar.gz

tar解密解压
openssl des3 -d -k passw0rd -salt -in /path/to/file.tar.gz | tar xvf -



zip -e 1.zip 1.log

unzip   aa.zip

利用OpenSSL加解密

 

posted @ 2020-03-13 15:20  笑傲运维  阅读(229)  评论(0编辑  收藏  举报