The specification of the THEX algorithm is at:
.
http://www.open-content.net/specs/draft-jchapweske-thex-02.html
The specification of the Tiger hash algorithm is at:
.
http://www.cs.technion.ac.il/~biham/Reports/Tiger/
Normally tthsum generates checksums of all files given to it as a parameter and prints the checksums followed by the filenames. If, however, -c is specified, only one filename parameter is allowed. This file should contain checksums and filenames to which these checksums refer, and the files listed in that file are checked against the checksums listed there. See option -c for more information.
<TTH checksum> <filename>
So, for example, if a file were created and its message digest calculated like so:
echo foo > tth-test-file; tthsum tth-test-file
tthsum would report:
A2MPPCGS5CPJV6AOAP37ICDCFV3WYU7PBREC6FY tth-test-file
tthsum uses BASE32 encoding consisting of the following characters: ABCDEFGHIJKLMNOPQRSTUVWXYZ234567.
tthsum does not accept long options such as --help.
The hashing code, copied from DC++, has been a lot more work than this simple program.
tthsum and this manpage were written by Walter Doekes (walter@djcvt.net). The hashing code is copied directly from DC++, an open source peer-to-peer file sharing program by Jacek Sieka (jacek@creatio.se) who had based the hashing code on the one used in BCDC++ (a modified DC++) by Dustin Brody (blackclaw@parsoma.net). The md5sum manpage, written by Juho Vuori (javuori@cc.helsinki.fi), was used as a template. This manpage was proofread by Dustin Brody.