in reply to Pure perl version of SHA-1 ? (or MD5)

A quick CPAN search turns up Digest::Perl::MD5:
NAME Digest::MD5::Perl - Perl implementation of Ron Rivests MD5 Algorithm DISCLAIMER This is not an interface (like `Digest::MD5') but a Perl implementation of MD5. It is written in perl only and because of this it is slow but it works without C-Code.

Hope this helps :-)

-- Joost downtime n. The period during which a system is error-free and immune from user input.