switch dependency from Digest::SHA1 to Digest::SHA