-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parameterized hashing #78
Comments
It seems the current policy is to add entries to the table for each "acceptable" generation value: https://github.com/multiformats/multihash/blob/master/hashtable.csv Probably not the best policy when it comes to very arbitrary params or hash functions with many inputs. |
Also see multiformats/multiformats#37 |
Let's move this to #37. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Different types of hashing may require parameters not currently specified, for example Argon2 has parameters for iterations, memory usage and parallelism. On the one hand, such parameters could be viewed like a salt and treated out-of-band. However, swapping out Argon2 with a hypothetical Argon3 would be much easier if such parameters were treated in-band - similar to length.
As one cannot anticipate the needs of future hash functions, I believe this would require a new arbitrary length
<params>
such fields would require a new<params>
section. Thoughts?The text was updated successfully, but these errors were encountered: