-
Notifications
You must be signed in to change notification settings - Fork 305
Add support for Persona and Salt to Blake2 #78
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
Conversation
|
This PR is ported from cesarb/blake2-rfc#9 |
|
I'd think the byteorder crate is kinda deprecated by |
|
Neat, I hadn't spotted those! However, using them would raise the minimum-supported Rust version to 1.32, while it is currently 1.21. |
|
@newpavlov do you have any feedback on this PR? Based on #75 (comment) I assumed that you'd be happy with a direct port of the |
|
To anyone else looking for personalisation, the blake2b_simd and blake2s_simd crates have personalisation APIs. They also mandate the use of SIMD when available however, so I think it's still valuable to have this PR merged for those projects that don't want a SIMD dependency. |
|
@str4d still interested in this, and if so, mind rebasing? |
Co-authored-by: George Tankersley <george.tankersley@gmail.com>
|
Rebased on current master. |
Closes #75.