Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Commit

Permalink
Add SHA2_256_TRUNC254_PADDED and X11
Browse files Browse the repository at this point in the history
(additional filecoin hashes)
  • Loading branch information
hsanjuan committed Feb 22, 2023
1 parent d55ee9d commit 4c96c93
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ var goodset = map[uint64]bool{
mh.BLAKE3: true,
mh.IDENTITY: true,
mh.POSEIDON_BLS12_381_A1_FC1: true,
mh.SHA2_256_TRUNC254_PADDED: true,
mh.X11: true,

mh.SHA1: true, // not really secure but still useful
}
Expand Down

0 comments on commit 4c96c93

Please sign in to comment.