Use Digest::SHA instead of deprecated Digest::SHA1