Got some new checksum hashes in: sha, mdc2, md4, ripemd160.
I already had the ones from hashlib, and zlib, but I pulled in the ones that are included with openssl. These may differ on some systems, so I currently check if they are available and only include them if they are. If I find some other ones that are available that I am not including, I will add those.
I was so close to getting whirlpool algorithm in here. The algorithm is public domain, and I had it working, but I could not get it working yet when the data is chunked; the hash comes out wrong. So, to get the right hash currently, the entire file’s data is loaded into one big buffer and the hash is applied on that, and since it is 100% python, it takes a long time on big files…but it worked. Due to this, I have not included it. If I can deconstruct the algorithm enough to figure out how the get chunked data to evaluate the same, I will include it later.
Since the current supported hashes could vary on certain systems, when the checksum command or shortcut is invoked, I will now show a quickpanel populated with the valid hashes that can be used for selection.