<?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 => 'fr',
  ),
  'this' => 
  array (
    0 => 'function.mcrypt-module-is-block-algorithm.php',
    1 => 'mcrypt_module_is_block_algorithm',
    2 => 'Indique si un algorithme fonctionne par blocs',
  ),
  'up' => 
  array (
    0 => 'ref.mcrypt.php',
    1 => 'Fonctions Mcrypt',
  ),
  'prev' => 
  array (
    0 => 'function.mcrypt-module-get-supported-key-sizes.php',
    1 => 'mcrypt_module_get_supported_key_sizes',
  ),
  'next' => 
  array (
    0 => 'function.mcrypt-module-is-block-algorithm-mode.php',
    1 => 'mcrypt_module_is_block_algorithm_mode',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'fr',
    'path' => 'reference/mcrypt/functions/mcrypt-module-is-block-algorithm.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.mcrypt-module-is-block-algorithm" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">mcrypt_module_is_block_algorithm</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_is_block_algorithm</span> &mdash; <span class="dc-title">Indique si un algorithme fonctionne par blocs</span></p>

 </div>
 <div id="function.mcrypt-module-is-block-algorithm-refsynopsisdiv">
  <div class="warning"><strong class="warning">Avertissement</strong><p class="simpara">
 Cette fonction est <em>OBSOLÈTE</em> à partir de PHP 7.1.0 et a été
 <em>SUPPRIMÉE</em> à partir de PHP 7.2.0.
 Dépendre de cette fonction est fortement déconseillé.
</p></div>
 </div>

 <div class="refsect1 description" id="refsect1-function.mcrypt-module-is-block-algorithm-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>mcrypt_module_is_block_algorithm</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.boolean.php" class="type bool">bool</a></span></div>

  <p class="simpara">
   <span class="function"><strong>mcrypt_module_is_block_algorithm()</strong></span> retourne <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong>
   si <code class="parameter">algorithm</code> est un algorithme par blocs,
   ou <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> si c&#039;est un algorithme par flux.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.mcrypt-module-is-block-algorithm-parameters">
  <h3 class="title">Liste de paramètres</h3>
  <dl>
   
    <dt><code class="parameter">algorithm</code></dt>
    <dd>
     <span class="simpara">
      L&#039;algorithme à vérifier.
     </span>
    </dd>
   
   
    <dt><code class="parameter">lib_dir</code></dt>
    <dd>
     <span class="simpara">
      Le paramètre optionnel <code class="parameter">lib_dir</code>
      peut contenir le chemin où se trouvent les modules des algorithmes
      sur le disque système.
     </span>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.mcrypt-module-is-block-algorithm-returnvalues">
  <h3 class="title">Valeurs de retour</h3>
  <p class="simpara">
   Retourne <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> si l&#039;algorithme spécifié est un algorithme par blocs
   ou <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> si c&#039;est un algorithme par flux.
  </p>
 </div>


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