Use new Digest::SHA module instead of old Digest::SHA1

There are no functional changes to using the new module when using SHA1,
but only the new name is available on Debian wheezy.