标签:iges str instr hashlib date return def nat dig
import hashlib
def stringtomd5(originstr):
"""将string转化为MD5"""
signaturemd5 = hashlib.md5()
signaturemd5.update(originstr)
return signaturemd5.hexdigest()
标签:iges str instr hashlib date return def nat dig
原文地址:https://www.cnblogs.com/snowDream-shineDream/p/9157324.html