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

Add BLAKE2b hash in the benchmarks #243

Open
Agagamand opened this issue Aug 16, 2019 · 2 comments
Open

Add BLAKE2b hash in the benchmarks #243

Agagamand opened this issue Aug 16, 2019 · 2 comments
Labels

Comments

@Agagamand
Copy link

@Agagamand Agagamand commented Aug 16, 2019

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/

@Cyan4973
Copy link
Owner

@Cyan4973 Cyan4973 commented Aug 25, 2019

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.

@Cyan4973
Copy link
Owner

@Cyan4973 Cyan4973 commented Aug 26, 2019

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.

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.