gHasher md5sum/sha1sum generator

Ttuuxxx discovered this originally, and back in December 2009 I compiled it for Quirky -- unfortunately that PET segfaults in the latest Wary/Racy.

So, I have recompiled it for Wary, now works. I made one little change in the source, to stop it from putting out an error message that 'libgnome.so' failed to load.

Here is the PET (12KB):
http://distro.ibiblio.org/quirky/pet_packages-wary5/ghasher-1.2.1-patched1-w5c.pet

My patched source is here:
http://bkhome.org/sources/alphabetical/g/

The homepage for gHasher is no more.

Note, I have a vague memory that someone once created a little drag-and-drop hash generator using gtkdialog. Just like my little Xdelta app (see Utility menu). I searched the forum though, couldn't find it. Drag-and-drop would be a big improvement on gHasher, also adding right-click menu in Rox would be good.

Would anyone be interested in this as a little project? Maybe use my /usr/sbin/xdelta_gui as a starting-point.

Note, many puppies, including Wary/Racy, don't have 'sha1sum', though they do have 'sha256sum' and 'sha512sum'. This is an oversight, I will recompile Busybox today to build sha1sum.

Another hash utility that is in Wary/Racy is 'cksum', which is part of 'coreutils'. So, perhaps a nice little drag-and-drop hash generator could automatically test what is installed, md5sum, sha1sum, cksum, and generate accordingly. Such a utility should also offer testing of a file, that a downloaded hash is correct.


Posted on 23 Sep 2011, 8:55


Comments:

Posted on 24 Sep 2011, 21:53 by jamesbond
phash
http://murga-linux.com/puppy/viewtopic.php?p=494552&sid=42dcf6682f3c3686986ed67e6f1228be - installed as a right click. Old code, only supports md5sum and sha1sum. But can easily be extended.