This code is based on code from md5sum (GNU coreutils / textutils) and
http://rmd160.slashusr.org/ (both GPL).
