This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

digest_length

        # Digest::SHA2.digest_length

(from ruby core)
### Implementation from SHA2
---
    digest_obj.digest_length -> Integer

---

Return the length of the hash value (the digest) in bytes.

    Digest::SHA256.new.digest_length * 8
    # => 256
    Digest::SHA384.new.digest_length * 8
    # => 384
    Digest::SHA512.new.digest_length * 8
    # => 512

For example, digests produced by Digest::SHA256 will always be 32 bytes
(256 bits) in size.



      

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.