Fix deprecation warnings in Ruby 2.1 wrt OpenSSL::Digest::Digest