in reply to Re: MD5 and SHA Hashesin thread MD5 and SHA Hashes
You don't even need Perl for this:
$ md5sum * >md5sums.txt [download]
Substitute sha1sum (or any member of the sha*sum family) for md5sum as desired.