Use OpenSSL::Digest in place of deprecated OpenSSL::Digest::Digest

Deprecation. See here: https://github.com/ruby/ruby/pull/446