posts - 3,  comments - 0,  trackbacks - 0
import hashlib 

def stringtomd5(originstr):
"""string转化为MD5"""
signaturemd5 = hashlib.md5()
signaturemd5.update(originstr)
return signaturemd5.hexdigest()
posted on 2018-06-08 19:35 左岸映雪 阅读(...) 评论(...) 编辑 收藏