dotNet File Hash
Why?
I was dissatisfied with a lot of "duplicate finder" applications showing various inconsistencies from being too accepting ("This picture, kind of looks like that one") or too unforgiving ("This file has a different creation date so it must be different"). The key functionality I was looking for is file content comparison without taking into account additional extended data applied by filesystem or OS. File hashing seemed like the most logical course, and, thanks to Google and the open source community, there were many good examples for me to get started from...What?
This is a C# .Net 4.0 file hashing Windows application that implements a variety of hashing algorithms (MD5, SHA1, SHA256, SHA384, SHA512, RIPEMD160) readily available in the System.Security.Cryptography section of the .Net framework and can be used to compare files from various folders for true file duplications by directly hashing the content and ignoring other extended details.I've started to add extra stuff like saving of hash lists and some light theming (check preferences), but this application is not finished and should be considered "alpha" software. At the moment, due to the way I calculate duplicates (MD5+SHA1), there is a mathematically ridiculously small probability of a false duplicate (Birthday Paradox and whatnot) so check your selection before deleting (not implemented yet) anything. As always, use this at your own risk, but if you feel unsure, read through the code.
The application UI is pretty crude, but the underlying code is quite lean. As always, this application is an example project for other users to take the code from and use as they please according to the GNU GPL V3 license referenced within the application.


No comments:
Post a Comment