http://www.perlmonks.org?node_id=469527


in reply to SHA-1 problem

I don't see any way of doing this easily with Digest::SHA beyond changing the source and recompiling it. Of course, if that seems a bit difficult you could always take the source of Digest::SHA::PurePerl and modify it in the ways that you need.