End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Digest::Base#block_length
digest_base.block_length → Integer
ext/digest/digest.c
View on GitHub ↗
static VALUE
rb_digest_base_block_length(VALUE self)
{
rb_digest_metadata_t *algo;
algo = get_digest_obj_metadata(self);
return SIZET2NUM(algo->block_len);
}
Return the block length of the digest in bytes.