Flowdock
method

digest_length

Importance_1
Ruby latest stable (v1_9_3_392) - 0 notes - Class: Digest
digest_length() public

Returns the output size of the digest, i.e. the length in bytes of the final message digest result.

Example

digest = OpenSSL::Digest::SHA1.new
puts digest.digest_length # => 20
Show source
Register or log in to add new notes.