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

OpenSSL::Digest::Digest was deprecated, please see ruby/ruby#446