python base64加解密
加密字符串
encodestr = base64.b64encode("chenglee1234".encode(encoding='utf-8'))
解密字符串
decodestr = base64.b64decode(encodestr) print(decodestr.decode())
加密字符串
encodestr = base64.b64encode("chenglee1234".encode(encoding='utf-8'))
解密字符串
decodestr = base64.b64decode(encodestr) print(decodestr.decode())