md5->sha1
This commit is contained in:
@@ -17,7 +17,7 @@ with open(output_file, "w", encoding="utf-8") as f:
|
|||||||
print(f"File is a link - {file}")
|
print(f"File is a link - {file}")
|
||||||
f.write(f"File is a link - {file}\n")
|
f.write(f"File is a link - {file}\n")
|
||||||
else:
|
else:
|
||||||
hasher = hashlib.md5()
|
hasher = hashlib.sha1()
|
||||||
try:
|
try:
|
||||||
print(f"Getting a hash for a file: {file}")
|
print(f"Getting a hash for a file: {file}")
|
||||||
# Read file in 64KB chunks to protect system memory
|
# Read file in 64KB chunks to protect system memory
|
||||||
|
|||||||
Reference in New Issue
Block a user