Method: String#sha1
- Defined in:
- lib/gorge/string.rb
#sha1 ⇒ String
Returns the SHA1 hash (in hexadecimal format) of the String.
20 21 22 |
# File 'lib/gorge/string.rb', line 20 def sha1 Digest::SHA1.hexdigest(self) end |
Returns the SHA1 hash (in hexadecimal format) of the String.
20 21 22 |
# File 'lib/gorge/string.rb', line 20 def sha1 Digest::SHA1.hexdigest(self) end |