Hexidecimal SHA2 digest of the supplied string
47 48 49
# File 'lib/rex/text/hash.rb', line 47 def self.sha2(str) Digest::SHA2.hexdigest(str) end