array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'function.mcrypt-enc-get-key-size.php', 1 => 'mcrypt_enc_get_key_size', 2 => 'Returns the maximum supported keysize of the opened mode', ), 'up' => array ( 0 => 'ref.mcrypt.php', 1 => 'Функції Mcrypt', ), 'prev' => array ( 0 => 'function.mcrypt-enc-get-iv-size.php', 1 => 'mcrypt_enc_get_iv_size', ), 'next' => array ( 0 => 'function.mcrypt-enc-get-modes-name.php', 1 => 'mcrypt_enc_get_modes_name', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mcrypt/functions/mcrypt-enc-get-key-size.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

mcrypt_enc_get_key_size

(PHP 4 >= 4.0.2, PHP 5, PHP 7 < 7.2.0, PECL mcrypt >= 1.0.0)

mcrypt_enc_get_key_sizeReturns the maximum supported keysize of the opened mode

Увага

Ця функція ЗАСТАРІЛА, починаючи з PHP 7.1.0, та ВИЛУЧЕНА в PHP 7.2.0. Вкрай не рекомендується на неї покладатися.

Опис

mcrypt_enc_get_key_size(resource $td): int

Gets the maximum supported key size of the algorithm in bytes.

Параметри

td

The encryption descriptor.

Значення, що повертаються

Returns the maximum supported key size of the algorithm in bytes.