Method: String#sha256
- Defined in:
- lib/gorge/string.rb
#sha256 ⇒ String
Returns the SHA256 hash (in hexadecimal format) of the String.
27 28 29 |
# File 'lib/gorge/string.rb', line 27 def sha256 Digest::SHA256.hexdigest(self) end |