PHP Manualmcrypt_get_iv_size(PHP 4 >= 4.0.2, PHP 5) mcrypt_get_iv_size — Returns the size of the IV belonging to a specific cipher/mode combination Description
int mcrypt_get_iv_size
( string
$cipher
, string $mode
)
Gets the size of the IV belonging to a specific
It is more useful to use the mcrypt_enc_get_iv_size() function as this uses the resource returned by mcrypt_module_open(). Parameters
Return Values
Returns the size of the Initialization Vector (IV) in bytes. On error the
function returns Examples
Example #1 mcrypt_get_iv_size() Example
<?php See Also
![]() |
PHP-Index
New Tutorial entries
|