digest(name, data)
Class Public methods
Return the data
hash computed with name
Digest. name
is either the long
name or short name of a supported digest algorithm.
Examples
OpenSSL::Digest.digest("SHA256", "abc")
which is equivalent to:
OpenSSL::Digest::SHA256.digest("abc")
Please login to continue.