如果要执行以下操作:
def hashmdfive(filename):
"""Generate the md5 checksum."""
hasher = hashlib.md5()
with open(filename, "rb") as afile:
buf = afile.read()
hasher.update(buf)
return hasher.hexdigest()
test.txt
)李>test.txt
散列是不同的。有人知道为什么会这样吗
目前没有回答
相关问题 更多 >
编程相关推荐