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 -
------------------------- A little Progress a day makes you a big success... ----------------------------