Use OpenSSL::Digest instead of deprecated OpenSSL::Digest::Digest