1
1
mirror of https://github.com/BLAKE2/BLAKE2 synced 2024-11-07 14:49:17 +01:00
BLAKE2/b2sum
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.c b2sum: Add digest length argument 2016-01-31 10:51:11 +00:00
makefile Fix makefiles 2013-03-12 03:06:10 -07:00