Replace Digest::SHA1 with Digest::SHA