Remove usage of deprecated OpenSSL::Digest::Digest

`OpenSSL::Digest::Digest` has been deprecated in favour of `OpenSSL::Digest`.  Avoid warnings by switching to the newer constant.
Merge pull request #78 from NZKoz/patch-1

Remove usage of deprecated OpenSSL::Digest::Digest