require 'openssl' puts OpenSSL::Digest::SHA1.hexdigest('Rosetta Code')