Use OpenSSL::Digest instead of deprecated ref

OpenSSL::Digest::Digest is deprecated