博主vx: haitangyijiusu 。很高兴认识你!偶尔带huo,都是精挑细选信得过的产品,欢迎来支持,期待和您相遇!
编码:
1、普通字符串编码
echo hello | base64
——> aGVsbG8K
2、将developer.crt里的内容进行base64编码
cat developer.crt|base64 --wrap=0
解码
echo aGVsbG8K | base64 -D
——>hello
cat xxx | base -w 0
cat xxx | base64 -w 0
echo "加密后的串" | base64 -d -w 0
-w 表示不换行