Skip to content
instance method

Digest::Instance#digest_length

() -> ::Integer
digest_obj.digest_length → integer

Returns the length of the hash value of the digest.

This method should be overridden by each implementation subclass. If not, digest_obj.digest().length() is returned.

See also #digest! #file #digest #finish also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0