ZhangZhihui's Blog  

echo -n 'admin' | base64

This should yield:
YWRtaW4=

 

zzh@ZZHPC:~$ echo -n 'admin'
adminzzh@ZZHPC:~$ echo -n 'admin' | base64
YWRtaW4=

 

For base64 decode, see https://www.cnblogs.com/zhangzhihui/p/14343815.html .

posted on 2019-11-18 15:22  ZhangZhihuiAAA  阅读(542)  评论(0编辑  收藏  举报