本文介绍以下,使用Python
进行Base64
加解密方法。
1.0 代码如下:
import base64
s = "暖星东"
bs = base64.b64encode(s.encode("utf-8"))
print(bs)
s = str(base64.b64decode(bs),"utf-8")
print(s)
标签:Base64,Python,base64,加解密,bs,print
来源: https://www.cnblogs.com/LuckMeteor/p/16701724.html