Documentation can be found at http://tcllib.sourceforge.net/doc/md5.html
Anyone with some tips for the novice as to common uses for md5 and sha1?
DL - Here are some common uses for md5:
md5 is older and more commonly used than sha1 but sha1 is considered more secure. However, for most purposes, md5 is good enough.
PT - SHA and MD5 are both enhanced digests based upon the MD4 algorithm. Although MD4 has not been broken - attacks have been demonstrated against the first two rounds and separately against the final round. The publication of these cryptanalytical attacks lead to a strengthend algorithm - MD5. See the sha1 page for details of how that has been sthrengthened. For MD5, the enahancements involve adding another round, adding a unique constant into each step, changing the round 2 function G to be less symmetrical. Each step now also includes the result of the previous step to speed up the avalanche effect. See [BOOK: Applied Cryptography pp 436].
Fast alternatives include mhtcl and ...
The tcllib implementation provides a Tcl only MD5 but it will defer to the md5 from the Trf package if that is available.
Category Package, subset Tcllib, Category Cryptography