python_base64加密、解密
标签:base col imp nbsp python res base64 code pre
一、base64加密、解密
import base64 s = ‘abc‘ b = base64.b64encode(s.encode()) #加密 result = b.decode() print(result) b = base64.b64decode(‘YWJj‘) #解密 print(b.decode())
python_base64加密、解密
标签:base col imp nbsp python res base64 code pre
温馨提示: 本文由杰米博客推荐,转载请保留链接: https://www.jmwww.net/file/biancheng/12159.html
- 上一篇:python_迁移redis
- 下一篇:熟悉编程语言