From Newsgroup: alt.os.linux.ubuntu
[ deliberately ignoring Followup-To - silly idea and I don't
subscribe to sci.crypt anyway ]
In alt.os.linux.debian Syber Shock <
admin@sybershock.com> wrote:
I am combing the Debian / Ubuntu package archives for as many hash
program binaries as can be possibly found. This search is not just
limited to packages specifically for a hash program, such as b2sum or gtkhash.
This does beg the question: Why?
This search is targeted to find and and all applications that install a
hash function in the system path in addition to the application proper.
For example, installing 'nncp' also installs '/bin/nncp-hash' which
outputs MTH digests.
I am looking for programs that allow to output a hash digest from CLI
or shell. Non-CLI Library bindings for programming languages are of no
use to this effort. If the library provides hashing but is not
accessible from bash shell I don't even want to know about it.
Where does this leave programs that generate a file containing a
hash? The output could then easily be processed by another program
in order to extract the hash, eg. by piping the output of the
hash-generating program to it. I've seen examples of this for
generating CRC32 hash strings using the Info-Zip "zip" command
and stripping everything except the hash from its output.
If anyone knows a good way to mine for these goodies please elaborate.
Also post package names that you know to include a hash function.
Here are the packages and hashes I have discovered so far:
Well Busybox can be built with its own minimal versions of some of
those that you've listed. At least some are probably in the
Debian-packaged build of Busybox.
As mentioned, Zip files contain a plain-text CRC32 checksum string
for each file in a ZIP archive. The Info-Zip "unzip" command can
list the checksums in a ZIP file with this command, and "zip" of
course creates the ZIP archive and in turn the hashes:
zip file.zip file
unzip -lv file.zip
7z apparantly has similar options for showing checksums. I expect
a lot of compression programs do. If you're trying to configure an
environment where it's impossible to generate a hash (why?), maybe
this is relevent to you.
.torrent files contain hashes...
--
__ __
#_ < |\| |< _#
--- Synchronet 3.20a-Linux NewsLink 1.114