Version 9 of md5

Updated 2003-05-18 20:37:10

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:

  • When distributing software, an md5 hash is computed and advertised alongside the published software. When the software is fetched, the user may recompute the md5 hash and compare it to the public md5 hash to have confidence that the downloaded distribution is indeed the one that was originally published.
  • The POP protocol can (as an option) avoid sending a plaintext password and instead send a hash of the password and the date. This protects the plaintext password from capture while still ensuring a high-level of authentication. You can see how this is coded in applications such as tkbiff.

md5 is older and more commonly used than sha1 but sha1 is considered more secure. However, for most purposes, md5 is good enough.


Fast alternatives include mhtcl and ...


Category Package, subset Tcllib, Category Cryptography