Skip to content
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

proposal: x/crypto/blake2[b|s]: Implement personalisation and salting #32447

Open
str4d opened this issue Jun 5, 2019 · 2 comments

Comments

@str4d
Copy link

commented Jun 5, 2019

The current implementations of BLAKE2b and BLAKE2s support both variable output lengths and keyed BLAKE2 (blake2b, blake2s), but do not yet enable setting the personalisation and salt sections of the parameter block. Personalisation in particular is becoming more commonplace in BLAKE2's usage within cryptographic protocols. It would be beneficial both inherently and for interoperability if the BLAKE2 implementations provided an interface for instantiating the digest state with a personalisation string and/or a salt.

@gopherbot gopherbot added this to the Proposal milestone Jun 5, 2019

@gopherbot gopherbot added the Proposal label Jun 5, 2019

@str4d

This comment has been minimized.

Copy link
Author

commented Jun 5, 2019

@rsc rsc added the Proposal-Crypto label Jun 11, 2019

@tv42

This comment has been minimized.

Copy link

commented Jun 13, 2019

For anyone looking for personalization/salt ASAP: I know of two abandoned projects that had that feature: https://github.com/codahale/blake2 and https://github.com/minio/blake2b-simd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.