加密示例:

import base64
mima='mima123xxxx'.encode('utf-8') 
bs64=base64.b64encode(mima)
print(bs64)

解密示例:

import base64
password = base64.b64decode('xxxx').decode('utf-8')
print(password)

标签: none

相关问题

添加新评论