Method: Rex::Text.sha2

Defined in:
lib/rex/text/hash.rb

.sha2(str) ⇒ Object

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