Method: String#sha256

Defined in:
lib/gorge/string.rb

#sha256String

Returns the SHA256 hash (in hexadecimal format) of the String.

Returns:



27
28
29
# File 'lib/gorge/string.rb', line 27

def sha256
  Digest::SHA256.hexdigest(self)
end