# author: Roy.G import hashlib m=hashlib.md5() n=hashlib.md5() y3="郭彦华"+"徐敏" y5="郭彦华徐敏" n.update(y5.encode("utf-8")) # m.update(y4.encode("utf-8")) m.update(y3.encode("utf-8")) print(n.hexdigest()) print(m.hexdigest()) # print(m.hexdigest()) # y1="郭" # y1=y1.encode("utf-8") # print(y1) # y2=m.update(y1) # print(y2) # print(y2.hexdigest())