Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Correct codes for blake2 #5

Open
Stebalien opened this issue Sep 28, 2018 · 1 comment
Open

Correct codes for blake2 #5

Stebalien opened this issue Sep 28, 2018 · 1 comment

Comments

@Stebalien
Copy link

See: multiformats/multicodec#25

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

@ivilata
Copy link
Owner

ivilata commented Oct 3, 2018

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants