Support the multiple SHA3 variants
Closed this issue · 2 comments
ebuchman commented
https://github.com/jbenet/go-multihash/blob/master/multihash.go#L63
Ethereum, for example, uses 32 byte, and is probably the most important user of the function in the immediate future. Maybe best to do SHA3_256
and SHA3_512
?
jbenet commented
sha3 has a 512 output. Also, we'll probably end up having all the established sha3 variants as different codes, given that they're different functions (not just truncated outputs)
ebuchman commented
Ya good idea. I'll change the title to reflect that.