jonelo / jacksum

A hash utility, est. 2002, FLOSS. 489 hash functions, HMAC support, cross platform, feature-rich, multi threaded. CLI and API. Recursive hashing, predefined and customizable formats, verify data integrity and find ok/failed/missing/new files, find files by their hashes, find the hash function to a hash. GUI provided by HashGarten.
https://jacksum.net
GNU General Public License v3.0
43 stars 5 forks source link

Please add BLAKE2sp and BLAKE2bp support #4

Closed Alepod closed 1 year ago

Alepod commented 3 years ago

I suppose it would be quite useful. For instance, BLAKE2sp is also supported by WinRAR.

jonelo commented 3 years ago

Thanks for the request! Accepted, I put both on the wishlist, because they are non-broken cryptographic hash functions. 7zip supports BLAKE2sp as well (although I am not quite sure why they hide it under a "CRC" menu ;-)

jonelo commented 3 years ago

I didn't find any pure free Java implementations of BLAKE2sp or BLAKE2bp on the web. I believe we have to look in the reference C implementation at https://github.com/BLAKE2/BLAKE2 - the code there is licensed under the Apache 2.0 license which is compatible with Jacksum's license.

jonelo commented 3 years ago

I have just opened https://github.com/BLAKE2/BLAKE2/issues/75

jonelo commented 2 years ago

a fortnight passed, but unfortunately there is no reaction from the blake2 team. Meanwhile I have created instructions how one can add an algorithm to Jacksum. See also https://github.com/jonelo/jacksum/wiki/Supported-Algorithms#how-to-add-a-new-algorithm-to-jacksum

jonelo commented 2 years ago

8 months passed, and no reaction from the blake2 team. I believe we need to consider both BLAKE2sp and BLAKE2bp as legacy algorithms. Therefore putting this request as low priority as well.

jonelo commented 2 years ago

Just opend https://github.com/bcgit/bc-java/issues/1212 for bouncy castle.

jonelo commented 1 year ago

Starting with Jacksum 3.6.0, it supports BLAKE2sp, and BLAKE2bp. Kudos go to Bouncy Castle for their implementation.