摘要: import hashlib hash = hashlib.md5() hash.update('asdasd'.encoding('utf8')) # 只能编码成utf8才行 print(hash.hexdigest()) 阅读全文
posted @ 2018-09-07 19:45 oecig 阅读(74) 评论(0) 推荐(0)