#MD5加密import hashlib# 创建md5对象hash= hashlib.md5()hash.update('admin'.encode(encoding='utf-8'))print(hash.hexdigest())