md5->sha1
This commit is contained in:
1 parent
7ff8e4ae61
commit
618504c0eb
1 file changed
+1
-1
@@ -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