[root@fxvsystem root]# openssl enc -des -e -a -in install.log -out install.log.des enter des-cbc encryption password: Verifying - enter des-cbc encryption password:
输入密码之后,就会生成install.log.des文件,这个文件名是自己指定的,可以随意写。
其中:[root@fxvsystem gpg]# openssl enc -des -d -a -in install.log.des -out install.log enter des-cbc decryption password:
输入口令后,就可以得到解密后的文件了。
其中:-d表明要进行解密原文:https://www.cnblogs.com/xhdy/p/14199556.html