Flowdock
method

digest

Importance_1
v2_5_5 - Show latest stable - 0 notes - Class: Digest
digest(name, data) public

Return the hash value 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")
Show source
Register or log in to add new notes.