replace Digest::SHA1 -> Digest::SHA