change deprecated Digest::Digest