Add BLAKE2b hash in the benchmarks #243
Labels
No labels
announcement
bug
build
CI
dependencies
documentation
duplicate
enhancement
experience feedback
feature request
github_actions
help wanted
install
invalid
Long-term
optimization
portability
question
target-specific
test issue
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-Cyan4973/xxHash#243
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
BLAKE2 is a cryptographic hash function faster than MD5, SHA-1, SHA-2, and SHA-3, yet is at least as secure as the latest standard SHA-3. BLAKE2 has been adopted by many projects due to its high speed, security, and simplicity.
https://blake2.net/
Hi @Agagamand ,
Sure, I can and will certainly add Blake2b to the benchmark list.
Just be aware that, Blake2 being branded as offering cryptographic qualities, it's not in the same league, for both cryptography and speed. Blake2's speed is great in comparison with other cryptographic hashes . But when compared with non-cryptographic hashes, it will seem quite slow.
The results are in for Blake2.
For "large" inputs, the speed is almost on par with FNV, which is already plotted (and is not excellent).
For "small" inputs though, the results are abysmal, capping at ~6MH/s, which is more than one order of magnitude slower than all non-cryptographic ones.
I'll see later if I can usefully plot Blake2 on the same graph as other algorithms.
Blake2 has been added to :
https://github.com/Cyan4973/xxHash/wiki/Performance-comparison
For the time being, it's present only in table,
there is still a visualisation problem when trying to plot too many candidates in a single graph.
Raw Data could be made available, though it's unclear it this would be any useful.