Linux中快速对字符串进行加密

1)进行base64的加密和解密

[root@VM_0_10_centos opt]# echo hello |base64
aGVsbG8K
[root@VM_0_10_centos opt]# echo aGVsbG8K | base64 -d
hello
[root@VM_0_10_centos opt]#

 2)进行md5的加密

[root@VM_0_10_centos opt]# echo hello |md5sum
b1946ac92492d2347c6235b4d2611184 -

https://www.cnblogs.com/hiver/p/9011763.html

原文地址:https://www.cnblogs.com/qianjinyan/p/11404900.html