idrassi / DirHash

Windows command line utility to compute hash of directories and files
BSD 3-Clause "New" or "Revised" License
107 stars 11 forks source link

More hashing algorithms + some ideas #31

Open redactedscribe opened 1 year ago

redactedscribe commented 1 year ago

Hello! Would it be possible to add xxHash's XXH3 and XXH128 hashing algorithms? Or are they not of interest to you since they have been omitted from both projects, this and HashCheck? I love HashCheck, but despite you mentioning in #23 that you are still maintaining it, it sadly doesn't appear to be active.

The other open-source hashing GUI programs simply aren't as straightforward to use, even if they do support more algorithms. I've yet to try DirHash but it seems it would be useful in some situations, however for most of my hashing needs, HashCheck with its effective GUI and shell tab is sufficient, but only because I predominantly use Blake3. It's just a shame it doesn't support more algorithms.

In my estimation, HashCheck + DirHash + additional algorithms would make for one of the best open-source hashing programs out there. In an ideal world, it'd also be cross-platform, at least the CLI part.

Thanks for your HashCheck fork, and for DirHash which I'll now download.

idrassi commented 1 year ago

Thanks for your interest in DirHash and HashCheck, and for your valuable input!

You're absolutely right, the addition of xxHash's XXH3 and XXH128 hashing algorithms could be beneficial for the projects. These algorithms are known for their speed and quality, which makes them a suitable addition to our suite. In response to your request, I will definitely look into integrating these algorithms into both DirHash and HashCheck.

The goal of these projects has always been to provide an easy-to-use interface that covers a majority of user needs. With regard to your concerns about the recent activity, their have a period where I was not active on the open source scene but few months ago I resumed my activities. Most of my free time is taken by VeraCrypt project but I do my best to give time to the other proects. Unfortunately, I didn't have time to update HashCheck but I will do my best to update it in the coming weeks.

Your suggestion for making the CLI cross-platform is noted. Although most of the focus has been on the Windows platform, due to its extensive use, I do recognize the need for a cross-platform tool. I'll look into potential solutions and consider the possibility of a cross-platform CLI.

Once again, thank you for your feedback. I will update you on the progress of integrating XXH3 and XXH128 as soon as possible.

redactedscribe commented 1 year ago

You're very welcome. This sounds promising and I'm interested to see what comes of it.

With such updates, yours tools will cover common classic algorithms and two of the more modern and speedier algorithms, one cryptographic, and the other not. If time permits, there may be algorithms which, upon review, are sorely missing and are suitable for implementation. Being a mere user of them, my knowledge in this area is thin. Potentially BLAKE3-512?

Regardless, thank you for your consideration and all of your hard work!