import hashlib
pwd = 'Dsfz123456@'
#加密
pwd_md5 = hashlib.md5()
pwd_md5.update(pwd.encode('utf-8')) #将密码由字符串转为字节码
miwen_md5 = pwd_md5.hexdigest() #加密
print(miwen_md5)
import hashlib
pwd = 'Dsfz123456@'
#加密
pwd_md5 = hashlib.md5()
pwd_md5.update(pwd.encode('utf-8')) #将密码由字符串转为字节码
miwen_md5 = pwd_md5.hexdigest() #加密
print(miwen_md5)