use ruby 2.1
use OpenSSL::Digest instead of deprecated OpenSSL::Digest::Digest