Replace SHA-512 hashing function with the ~10 times faster BLAKE3. #2530
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
BLAKE3 is a cryptographic hash function that is:
unlike SHA-2.
because it's a Merkle tree on the inside.
because it's a Merkle tree.
on smaller architectures.
The chart below shows BLAKE3's performance on modern server hardware, an Intel Cascade
Lake-SP 8275CL processor:
BLAKE3 paper: https://github.com/BLAKE3-team/BLAKE3-specs/blob/master/blake3.pdf
This is my last attempt to contribute to this repository and the third time I changed the requirements.txt to include only gevent>=1.4.0! If this pull request is not going to be merged than this is going to be fastest fork of "ZeroNet". For that matter I going to rename it and will be not called "ZeroNet" anymore!
I would like to give a huge thanks to @imachug and @filips123 for they great and hard work on this software, keep up the good work guys! 🤗
I wish that not @HelloZeroNet (@shortcutme) owns this repository. 😢 It would be in better hands with @imachug for example. @imachug is way more respectful and active than the current "owner" 😡.