md5->sha1

This commit is contained in:
2026-06-29 12:00:20 +03:00
parent 7ff8e4ae61
commit 618504c0eb
@@ -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