digest.block_length â integer
Instance Public methods
Returns the block length of the digest algorithm, i.e. the length in bytes
of an individual block. Most modern algorithms partition a message to be
digested into a sequence of fix-sized blocks that are processed
consecutively.
Example
digest = OpenSSL::Digest::SHA1.new
puts digest.block_length # => 64