digest.digest_length â integer
Instance Public methods
Returns the output size of the digest, i.e. the length in bytes of the final message digest result.
Example
1 2 | digest = OpenSSL::Digest:: SHA1 . new puts digest.digest_length # => 20 |
Please login to continue.