crypto_digest_block_size()

 
Programatically determines the block_size attribute of the digest algorithm specified by "digestname".
Syntax
crypto_digest_block_size( digestname )
Returns the numeric size, in bytes, or -1 if an invalid "digestname" is specified.
  • digestname = an OpenSSL digest identifier, such as "sha256" or "md5".
User Annotations: crypto_digest_block_size