This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# OpenSSL::HMAC.digest (from ruby core) ### Implementation from HMAC --- HMAC.digest(digest, key, data) -> aString --- Returns the authentication code as a binary string. The *digest* parameter specifies the digest algorithm to use. This may be a String representing the algorithm name or an instance of OpenSSL::Digest. ### Example key = 'key' data = 'The quick brown fox jumps over the lazy dog' hmac = OpenSSL::HMAC.digest('SHA1', key, data) #=> "\xDE|\x9B\x85\xB8\xB7\x8A\xA6\xBC\x8Az6\xF7\n\x90p\x1C\x9D\xB4\xD9" (from ruby core) ### Implementation from HMAC --- hmac.digest -> string --- Returns the authentication code an instance represents as a binary string. ### Example instance = OpenSSL::HMAC.new('key', 'SHA1') #=> f42bb0eeb018ebbd4597ae7213711ec60760843f instance.digest #=> "\xF4+\xB0\xEE\xB0\x18\xEB\xBDE\x97\xAEr\x13q\x1E\xC6\a`\x84?"
This is MURDOC! A Ruby documentation browser inspired by Smalltalk-80. It allows you to learn about Ruby by browsing through its class hierarchies, and see any of its methods.