-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add blake2b hashing algorithm (#5926)
* Add golang.org/x/crypto/blake2b to vendor * Add blake2b hashing algorithm Allow BLAKE2b as a file hashing algorithm (https://blake2.net/). In my benchmarks it is quite fast. | Hash Algorithm | Time per 100 MiB File (ns) | MiB / sec | |---------------------------------|----------------------------|-------------| | BenchmarkHashFile/blake2b_256-8 | 127116193 | 786.6818353 | | BenchmarkHashFile/blake2b_512-8 | 127239979 | 785.9165082 | | BenchmarkHashFile/blake2b_384-8 | 129671956 | 771.1767686 | | BenchmarkHashFile/sha1-8 | 131347484 | 761.3392884 | | BenchmarkHashFile/md5-8 | 170146968 | 587.7271936 | | BenchmarkHashFile/sha512-8 | 200803749 | 497.9986703 | | BenchmarkHashFile/sha384-8 | 201153073 | 497.1338419 | | BenchmarkHashFile/sha512_224-8 | 201987854 | 495.0792734 | | BenchmarkHashFile/sha512_256-8 | 202126889 | 494.7387282 | | BenchmarkHashFile/sha256-8 | 297884549 | 335.7005267 | | BenchmarkHashFile/sha224-8 | 299384125 | 334.0190466 | | BenchmarkHashFile/sha3_224-8 | 335496603 | 298.0656111 | | BenchmarkHashFile/sha3_256-8 | 352318502 | 283.834086 | | BenchmarkHashFile/sha3_384-8 | 461460154 | 216.7034339 | | BenchmarkHashFile/sha3_512-8 | 651817080 | 153.4172747 |
- Loading branch information
1 parent
6244703
commit 24b3b8e
Showing
24 changed files
with
1,938 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.