Skip to content

Commit

Permalink
Add SHA2_256_TRUNC254_PADDED and X11
Browse files Browse the repository at this point in the history
(additional filecoin hashes)


This commit was moved from ipfs/go-verifcid@4c96c93
  • Loading branch information
hsanjuan committed Feb 22, 2023
1 parent 61d62da commit 8f28875
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions verifcid/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 8f28875

Please sign in to comment.