Created
August 4, 2022 07:48
-
-
Save synodriver/18752af6cb358d2e3d40169657421bdb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import hashlib | |
md = hashlib.md5() | |
with open(sys.argv[1], "rb") as f: | |
while chunk := f.read(60 * 1024): | |
md.update(chunk) | |
print(md.hexdigest()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment