fix deprecated Digest::Digest