35 36 37 38 39 40
# File 'lib/trx/utils.rb', line 35 def sha256(value) hash = OpenSSL::Digest.new("SHA256") hash.update(value) hash end