<?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-enc-get-iv-size.php',
    1 => 'mcrypt_enc_get_iv_size',
    2 => 'Returns the size of the IV of the opened algorithm',
  ),
  'up' => 
  array (
    0 => 'ref.mcrypt.php',
    1 => 'Функції Mcrypt',
  ),
  'prev' => 
  array (
    0 => 'function.mcrypt-enc-get-block-size.php',
    1 => 'mcrypt_enc_get_block_size',
  ),
  'next' => 
  array (
    0 => 'function.mcrypt-enc-get-key-size.php',
    1 => 'mcrypt_enc_get_key_size',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/mcrypt/functions/mcrypt-enc-get-iv-size.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.mcrypt-enc-get-iv-size" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">mcrypt_enc_get_iv_size</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_enc_get_iv_size</span> &mdash; <span class="dc-title">Returns the size of the IV of the opened algorithm</span></p>

 </div>
 <div id="function.mcrypt-enc-get-iv-size-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-enc-get-iv-size-description">
  <h3 class="title">Опис</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>mcrypt_enc_get_iv_size</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> <code class="parameter">$td</code></span>): <span class="type"><a href="language.types.integer.php" class="type int">int</a></span></div>

  <p class="para rdfs-comment">
   This function returns the size of the IV of the algorithm specified by the
   encryption descriptor in bytes. An IV is used in cbc, cfb and ofb modes,
   and in some algorithms in stream mode.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.mcrypt-enc-get-iv-size-parameters">
  <h3 class="title">Параметри</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">td</code></dt>
     <dd>
      <p class="para">
       The encryption descriptor.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.mcrypt-enc-get-iv-size-returnvalues">
  <h3 class="title">Значення, що повертаються</h3>
  <p class="para">
   Returns the size of the IV, or 0 if the IV is ignored by the algorithm.
  </p>
 </div>

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