mirror of
https://github.com/BLAKE2/BLAKE2
synced 2024-09-18 08:51:39 +02:00
BLAKE2 official implementations
3b2fb9f2cd
It may be desirable to produce a digest with a shorter length than the default using a BLAKE2 algorithm. For example, the crypto_generichash() function in libsodium uses BLAKE2b but shortens the digest to 256 bits by default and it is useful for debugging to generate similar hashes with b2sum for comparison. The requested digest length is specified in bits, must be a multiple of 8 and cannot exceed the total output length of the selected algoritm. No minimum digest length is enforced. If a shorter-than-default digest length is selected, this is indicated in the output when the '--tag' option is given. |
||
---|---|---|
b2sum | ||
bench | ||
csharp | ||
ref | ||
sse | ||
testvectors | ||
.gitignore | ||
COPYING | ||
README.md |
BLAKE2
This is the reference source code package of BLAKE2, which includes
-
ref/
: C implementations of BLAKE2b, BLAKE2bp, BLAKE2s, BLAKE2sp, aimed at portability and simplicity. -
sse/
: C implementations of BLAKE2b, BLAKE2bp, BLAKE2s, BLAKE2sp, optimized for speed on CPUs supporting SSE2, SSSE3, SSE4.1, AVX, or XOP. -
csharp/
: C# implementation of BLAKE2b. -
b2sum/
: Command line utility to hash files, based on thesse/
implementations. -
bench/
: Benchmark tool to measure cycles-per-byte speeds and produce graphs copyright.
All code is licensed under CC0.
More: https://blake2.net.
Contact: contact@blake2.net