blake2-rfc icon indicating copy to clipboard operation
blake2-rfc copied to clipboard

Personalization support

Open gtank opened this issue 6 years ago • 1 comments

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.

gtank avatar Mar 16 '18 20:03 gtank

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

ebfull avatar Apr 08 '18 20:04 ebfull