<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.mcrypt.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'function.mcrypt-module-get-supported-key-sizes.php',
    1 => 'mcrypt_module_get_supported_key_sizes',
    2 => 'Returns an array with the supported keysizes of the opened algorithm',
  ),
  'up' => 
  array (
    0 => 'ref.mcrypt.php',
    1 => 'Функції Mcrypt',
  ),
  'prev' => 
  array (
    0 => 'function.mcrypt-module-get-algo-key-size.php',
    1 => 'mcrypt_module_get_algo_key_size',
  ),
  'next' => 
  array (
    0 => 'function.mcrypt-module-is-block-algorithm.php',
    1 => 'mcrypt_module_is_block_algorithm',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/mcrypt/functions/mcrypt-module-get-supported-key-sizes.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.mcrypt-module-get-supported-key-sizes" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">mcrypt_module_get_supported_key_sizes</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.0.2, PHP 5, PHP 7 &lt; 7.2.0, PECL mcrypt &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">mcrypt_module_get_supported_key_sizes</span> &mdash; <span class="dc-title">Returns an array with the supported keysizes of the opened algorithm</span></p>

 </div>
 <div id="function.mcrypt-module-get-supported-key-sizes-refsynopsisdiv">
  <div class="warning"><strong class="warning">Увага</strong><p class="simpara">Ця функція
<em>ЗАСТАРІЛА</em>, починаючи з PHP 7.1.0, та
<em>ВИЛУЧЕНА</em> в PHP 7.2.0. Вкрай не рекомендується на неї
покладатися.</p></div>
 </div>
 <div class="refsect1 description" id="refsect1-function.mcrypt-module-get-supported-key-sizes-description">
  <h3 class="title">Опис</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>mcrypt_module_get_supported_key_sizes</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$algorithm</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$lib_dir</code><span class="initializer"> = ?</span></span>): <span class="type"><a href="language.types.array.php" class="type array">array</a></span></div>

  <p class="para rdfs-comment">
   Returns an array with the key sizes supported by the specified algorithm.
   If it returns an empty array then all key sizes between 1 and
   <span class="function"><a href="function.mcrypt-module-get-algo-key-size.php" class="function">mcrypt_module_get_algo_key_size()</a></span> are supported by the
   algorithm.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.mcrypt-module-get-supported-key-sizes-parameters">
  <h3 class="title">Параметри</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">algorithm</code></dt>
     <dd>
      <p class="para">
       The algorithm to be used.
      </p>
     </dd>
    
    
     <dt><code class="parameter">lib_dir</code></dt>
     <dd>
      <p class="para">
       The optional <code class="parameter">lib_dir</code> parameter can contain the
       location where the algorithm module is on the system.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.mcrypt-module-get-supported-key-sizes-returnvalues">
  <h3 class="title">Значення, що повертаються</h3>
  <p class="para">
   Returns an array with the key sizes supported by the specified algorithm.
   If it returns an empty array then all key sizes between 1 and
   <span class="function"><a href="function.mcrypt-module-get-algo-key-size.php" class="function">mcrypt_module_get_algo_key_size()</a></span> are supported by the
   algorithm.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.mcrypt-module-get-supported-key-sizes-seealso">
  <h3 class="title">Прогляньте також</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.mcrypt-enc-get-supported-key-sizes.php" class="function" rel="rdfs-seeAlso">mcrypt_enc_get_supported_key_sizes()</a> - Returns an array with the supported keysizes of the opened algorithm</span></li>
   </ul>
  </p>
 </div>

</div><?php manual_footer($setup); ?>