From 618504c0eb47ddaad3cecda961c6c9f489cff6e5 Mon Sep 17 00:00:00 2001 From: zmaster Date: Mon, 29 Jun 2026 12:00:20 +0300 Subject: [PATCH] md5->sha1 --- Collect a hash of all files in a directory/getHashes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Collect a hash of all files in a directory/getHashes.py b/Collect a hash of all files in a directory/getHashes.py index 887f588..94434dc 100644 --- a/Collect a hash of all files in a directory/getHashes.py +++ b/Collect a hash of all files in a directory/getHashes.py @@ -17,7 +17,7 @@ with open(output_file, "w", encoding="utf-8") as f: print(f"File is a link - {file}") f.write(f"File is a link - {file}\n") else: - hasher = hashlib.md5() + hasher = hashlib.sha1() try: print(f"Getting a hash for a file: {file}") # Read file in 64KB chunks to protect system memory