import hashlib
#obj = hashlib.md5(bytes('',encoding='utf-8'))obj=hashlib.md5(bytes('123',encoding='utf-8'))result = obj.hexdigest()print(result)本文共 192 字,大约阅读时间需要 1 分钟。
import hashlib
#obj = hashlib.md5(bytes('',encoding='utf-8'))obj=hashlib.md5(bytes('123',encoding='utf-8'))result = obj.hexdigest()print(result)转载于:https://blog.51cto.com/liulidong/1790470