Skip to content

Conversation

@ben-clayton
Copy link
Contributor

We were previously hashing the data twice (16 byte hash + 4 byte hash) to build a 20-byte combined hash.

Instead, perform a 16 byte hash, and append the 4-byte length as the extra entropy.

We were previously hashing the data twice (16 byte hash + 4 byte hash) to build a 20-byte combined hash.

Instead, perform a 16 byte hash, and append the 4-byte length as the extra entropy.
@ben-clayton ben-clayton merged commit 81386b8 into google:master Jul 26, 2018
@ben-clayton ben-clayton deleted the fast-hash branch July 26, 2018 13:12
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