blake2-rfc
blake2-rfc copied to clipboard
Personalization support
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.
I've also tested that this implementation (of personalization) is consistent with another implementation I have.