1. Python-Base64加解密
import base64
s = "暖星东"
//加密
bs = base64.b64encode(s.encode("utf-8"))
print(bs)
//解密
s = str(base64.b64decode(bs),"utf-8")
print(s)
import base64
s = "暖星东"
//加密
bs = base64.b64encode(s.encode("utf-8"))
print(bs)
//解密
s = str(base64.b64decode(bs),"utf-8")
print(s)