pymultihash icon indicating copy to clipboard operation
pymultihash copied to clipboard

Correct codes for blake2

Open Stebalien opened this issue 7 years ago • 1 comments

See: https://github.com/multiformats/multicodec/pull/25

Basically, we had to change the codes as blake2{b,s} are really hash function families, not hash functions.

Stebalien avatar Sep 28 '18 16:09 Stebalien

I see there are a bunch of values to set, I can either go the boring way and add all 63 entries, or add some loops to do it programmatically with partials on blake2 functions. I'd probably need to use the Enum('<NAME>', <MAPPING>) syntax.

ivilata avatar Oct 03 '18 04:10 ivilata