Digest::Class.digest(string, *parameters) â hash_string
Class Public methods
Returns the hash value of a given string. This is equivalent to
Digest::Instance#new.digest(string),
where extra parameters, if any, are passed through to the
constructor and the string is passed to digest().