<?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 => 'it',
  ),
  '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 Funzioni',
  ),
  '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">Avviso</strong><p class="simpara">This function has been
<em>DEPRECATED</em> as of PHP 7.1.0 and
<em>REMOVED</em> as of PHP 7.2.0. Relying on this function
is highly discouraged.</p></div>
 </div>
 <div class="refsect1 description" id="refsect1-function.mcrypt-enc-get-iv-size-description">
  <h3 class="title">Descrizione</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="simpara">
   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">Elenco dei parametri</h3>
  <dl>
   
    <dt><code class="parameter">td</code></dt>
    <dd>
     <span class="simpara">
      The encryption descriptor.
     </span>
    </dd>
   
  </dl>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.mcrypt-enc-get-iv-size-returnvalues">
  <h3 class="title">Valori restituiti</h3>
  <p class="simpara">
   Returns the size of the IV, or 0 if the IV is ignored by the algorithm.
  </p>
 </div>

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