# ! /usr/bin/env python
# -*- coding: utf-8 -*-
# __author__ = "Miller"
# Datetime: 2019/8/28 9:49

# import hashlib

# input()

# md = hashlib.md5(b"miller.json and liusir")
# md.update(bytes("李建波2", encoding="utf-8"))
# md.update(bytes("李建波1", encoding="utf-8"))

# a1a9f92e6080076007d38ed982619908
# 5496fd3ff541547e86bf98c17d267f6e
# print(md.hexdigest())
# print(md.digest())

# 0c8c9d0f4ff7cb84543514352f763f86
# 8bad265b101dd80e7dfe0e5f4c592818

# sh = hashlib.sha1(b"miller.json and liusir")
# print(sh.hexdigest())  # 1f3d1613d2af81e03378a24c8f1f951e80c9cead
#
# sh = hashlib.sha224(b"miller.json and liusir")
# print(sh.hexdigest())  # ae62ffa966ef2f1de97b831d4130fb495addd0d654a539361779b4b5
#
# sh = hashlib.sha256(b"miller.json and liusir")
# print(sh.hexdigest())  # 0901929dab7f01d725a3d1d5d338f3caf21daf55128b288d18e532dd2b74a9b0
#
# sh = hashlib.sha512(b"miller.json and liusir")
# print(sh.hexdigest())  #de7cc7e93d4f13a7a0166e9a191d33671330e6e7a9ea474e17465b8fc4ff2055d73d47c9ca21b5293f9c95466e7386b19ccea063c3f862519646bd0de285a029





























