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