Add BLAKE2b hash in the benchmarks #243

Closed
opened 2019-08-16 14:28:14 -05:00 by Agagamand · 3 comments
Agagamand commented 2019-08-16 14:28:14 -05:00 (Migrated from github.com)

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/

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 commented 2019-08-25 16:21:00 -05:00 (Migrated from github.com)

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.

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 commented 2019-08-25 20:25:56 -05:00 (Migrated from github.com)

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.

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.
Cyan4973 commented 2020-06-22 12:13:08 -05:00 (Migrated from github.com)

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.

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.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-Cyan4973/xxHash#243
No description provided.