1
1
mirror of https://github.com/BLAKE2/BLAKE2 synced 2024-09-18 08:51:39 +02:00
BLAKE2 official implementations
Go to file
Paul Barker 3b2fb9f2cd b2sum: Add digest length argument
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.
2016-01-31 10:51:11 +00:00
b2sum b2sum: Add digest length argument 2016-01-31 10:51:11 +00:00
bench Release 2013-01-31 2013-02-01 16:44:36 +01:00
csharp Release 2013-01-31 2013-02-01 16:44:36 +01:00
ref replace secure_zero_memory 2015-12-12 20:45:01 +00:00
sse replace secure_zero_memory 2015-12-12 20:45:01 +00:00
testvectors test vectors 2015-10-14 15:17:39 +02:00
.gitignore Add git ignore file 2016-01-03 11:54:57 +00:00
COPYING Release 2013-01-31 2013-02-01 16:44:36 +01:00
README.md typos 2015-10-19 16:50:33 +02:00

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 the sse/ 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