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

Personalization support #9

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Personalization support #9

wants to merge 3 commits into from

Conversation

gtank
Copy link

@gtank gtank commented Mar 16, 2018

This adds support for the salt and personalization features described in the BLAKE2 paper and reference implementation. They're pretty much just a set of bytes XOR'd into the parameter block.

The test vectors used agree with the reference (as exposed by pyblake2) and, for blake2s at least, with an independent implementation written for the purpose.

@ebfull
Copy link

ebfull commented Apr 8, 2018

I've also tested that this implementation (of personalization) is consistent with another implementation I have.

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

Successfully merging this pull request may close these issues.

2 participants