源字符串:
ddd71fc0b31ab7945f2d0dcf5927db754ba1553164972749
在线加密:https://md5jiami.51240.com/
python demo:
def md5_passwd(str,salt=''): #satl是盐值,默认是123456 str=str+salt import hashlib md = hashlib.md5() # 构造一个md5对象 md.update(str.encode()) res = md.hexdigest() return res print(md5_passwd("ddd71fc0b31ab7945f2d0dcf5927db754ba1553164972749"))
输出:
37729cf329bf706fb7d2449a7fa4cd2d
参考:
https://www.cnblogs.com/wmm007/p/7810061.html