import hashlib hash = hashlib.md5(bytes(‘88888‘, encoding=‘utf-8‘)) hash.update(bytes(‘1235678‘, encoding=‘utf-8‘)) print(hash.hexdigest())
hashlib 加密
原文:https://www.cnblogs.com/xuwenwei/p/14402566.html