Avoid deprecation warnings in Ruby 2.1.

OpenSSL::Digest::Digest has been deprecated for a long time. Use OpenSSL::Digest instead.