Skip to content

Commit

Permalink
Change SHA1 to SHA256
Browse files Browse the repository at this point in the history
  • Loading branch information
leo-mazzone committed Nov 11, 2024
1 parent 7c39ae4 commit 048829d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/matchbox/common/hash.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
T = TypeVar("T")
HashableItem = TypeVar("HashableItem", bytes, bool, str, int, float, bytearray)

HASH_FUNC = hashlib.sha1
HASH_FUNC = hashlib.sha256


def dataset_to_hashlist(dataset: Source, model_hash: bytes) -> list[dict[str, Any]]:
Expand Down

0 comments on commit 048829d

Please sign in to comment.