crypto_cipher_iv_length()

 
Programatically determine the iv_length attribute of the cipher specified by "ciphername".
Syntax
crypto_cipher_iv_length( ciphername )
returns the numeric size, in bytes, or -1 if an invalid "ciphername" is specified.
  • ciphername = an OpenSSL cipher identifier, such as "aes-128-cbc" or "rc2-ofb".
User Annotations: crypto_cipher_iv_length