加密字符串
encodestr = base64.b64encode("chenglee1234".encode(encoding='utf-8'))
解密字符串
decodestr = base64.b64decode(encodestr) print(decodestr.decode())
原创文章,作者:Maggie-Hunter,如若转载,请注明出处:https://blog.ytso.com/16539.html
加密字符串
encodestr = base64.b64encode("chenglee1234".encode(encoding='utf-8'))
解密字符串
decodestr = base64.b64decode(encodestr) print(decodestr.decode())
原创文章,作者:Maggie-Hunter,如若转载,请注明出处:https://blog.ytso.com/16539.html