OpenSSL::Digest::Digest deprecated, fixes deprecation warnings