hashlib 加密

import hashlib

hash = hashlib.md5(bytes('88888', encoding='utf-8'))
hash.update(bytes('1235678', encoding='utf-8'))
print(hash.hexdigest())

  

原文地址:https://www.cnblogs.com/xuwenwei/p/14402566.html