diff --git a/application/core/filters.py b/application/core/filters.py index c5b4d292..f8545b63 100644 --- a/application/core/filters.py +++ b/application/core/filters.py @@ -193,7 +193,7 @@ def hash_file(filename): print("File not found when creating a hash: " + filename) return "" - sha1Hash = hashlib.sha1(content) + sha1Hash = hashlib.sha1(content, usedforsecurity=False) sha1Hashed = sha1Hash.hexdigest() # return the hex representation of digest