use OpenSSL::Digest instead of deprecated OpenSSL::Digest::Digest