instance method
Digest::Base#digest_length
() -> ::Integer
digest_base.digest_length → Integer
ext/digest/digest.c
View on GitHub ↗
static VALUE
rb_digest_base_digest_length(VALUE self)
{
rb_digest_metadata_t *algo;
algo = get_digest_obj_metadata(self);
return SIZET2NUM(algo->digest_len);
}
Return the length of the hash value in bytes.