|
mcrypt_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 Описание
int mcrypt_get_iv_size
( string $cipher
, string $mode
)
Gets the size of the IV belonging to a specific cipher/mode combination. It is more useful to use the mcrypt_enc_get_iv_size() function as this uses the resource returned by mcrypt_module_open(). Список параметров
Возвращаемые значенияReturns the size of the Initialization Vector (IV) in bytes. On error the function returns FALSE. If the IV is ignored in the specified cipher/mode combination zero is returned. Примеры
Пример #1 mcrypt_get_iv_size() Example
<?php Смотрите также
|
|