<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/refs.crypto.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'it',
  ),
  'this' => 
  array (
    0 => 'book.mcrypt.php',
    1 => 'Mcrypt',
    2 => 'Mcrypt',
  ),
  'up' => 
  array (
    0 => 'refs.crypto.php',
    1 => 'Estensioni crittografiche',
  ),
  'prev' => 
  array (
    0 => 'function.hash-update-stream.php',
    1 => 'hash_update_stream',
  ),
  'next' => 
  array (
    0 => 'mcrypt.setup.php',
    1 => 'Installazione/Configurazione',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/mcrypt/book.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/book.mcrypt.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="book.mcrypt" class="book">
 
 <h1 class="title">Mcrypt</h1>

 
 <div id="intro.mcrypt" class="preface">
  <h1 class="title">Introduzione</h1>
  <div class="warning"><strong class="warning">Avviso</strong>
   
<p class="para">
 This feature was <em>DEPRECATED</em> in PHP 7.1.0, and
 <em>REMOVED</em> in PHP 7.2.0.
</p>
<p class="para">
 Alternatives to this feature include:
</p>

   <ul class="simplelist">
    <li>
     <a href="book.sodium.php" class="link">Sodium</a>
     (available as of PHP 7.2.0)
    </li>
    <li>
     <a href="book.openssl.php" class="link">OpenSSL</a>
    </li>
   </ul>
  </div>

  <blockquote class="note"><p><strong class="note">Nota</strong>: 
   <span class="simpara">
    Questo modulo è stato spostato nel repository
<a href="https://pecl.php.net/" class="link external">&raquo;&nbsp;PECL</a> e non è più rilasciato con il
PHP dalla versione 7.2.0.
   </span>
  </p></blockquote>

  <p class="simpara">
   This is an interface to the mcrypt library, which supports a wide
   variety of block algorithms such as DES, TripleDES, Blowfish
   (default), 3-WAY, SAFER-SK64, SAFER-SK128, TWOFISH, TEA, RC2 and
   GOST in CBC, OFB, CFB and ECB cipher modes. Additionally, it
   supports RC6 and IDEA which are considered &quot;non-free&quot;.
   CFB/OFB are 8bit by default.
  </p>
 </div>
 

 




 





 




 


 




<ul class="chunklist chunklist_book"><li><a href="mcrypt.setup.php">Installazione/Configurazione</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="mcrypt.requirements.php">Requisiti</a></li><li><a href="mcrypt.installation.php">Installazione</a></li><li><a href="mcrypt.configuration.php">Configurazione di Runtime</a></li><li><a href="mcrypt.resources.php">Tipi di risorse</a></li></ul></li><li><a href="mcrypt.constants.php">Costanti predefinite</a></li><li><a href="mcrypt.ciphers.php">Mcrypt ciphers</a></li><li><a href="ref.mcrypt.php">Mcrypt Funzioni</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.mcrypt-create-iv.php">mcrypt_create_iv</a> — Creates an initialization vector (IV) from a random source</li><li><a href="function.mcrypt-decrypt.php">mcrypt_decrypt</a> — Decrypts crypttext with given parameters</li><li><a href="function.mcrypt-enc-get-algorithms-name.php">mcrypt_enc_get_algorithms_name</a> — Returns the name of the opened algorithm</li><li><a href="function.mcrypt-enc-get-block-size.php">mcrypt_enc_get_block_size</a> — Returns the blocksize of the opened algorithm</li><li><a href="function.mcrypt-enc-get-iv-size.php">mcrypt_enc_get_iv_size</a> — Returns the size of the IV of the opened algorithm</li><li><a href="function.mcrypt-enc-get-key-size.php">mcrypt_enc_get_key_size</a> — Returns the maximum supported keysize of the opened mode</li><li><a href="function.mcrypt-enc-get-modes-name.php">mcrypt_enc_get_modes_name</a> — Returns the name of the opened mode</li><li><a href="function.mcrypt-enc-get-supported-key-sizes.php">mcrypt_enc_get_supported_key_sizes</a> — Returns an array with the supported keysizes of the opened algorithm</li><li><a href="function.mcrypt-enc-is-block-algorithm.php">mcrypt_enc_is_block_algorithm</a> — Checks whether the algorithm of the opened mode is a block algorithm</li><li><a href="function.mcrypt-enc-is-block-algorithm-mode.php">mcrypt_enc_is_block_algorithm_mode</a> — Checks whether the encryption of the opened mode works on blocks</li><li><a href="function.mcrypt-enc-is-block-mode.php">mcrypt_enc_is_block_mode</a> — Checks whether the opened mode outputs blocks</li><li><a href="function.mcrypt-enc-self-test.php">mcrypt_enc_self_test</a> — Runs a self test on the opened module</li><li><a href="function.mcrypt-encrypt.php">mcrypt_encrypt</a> — Encrypts plaintext with given parameters</li><li><a href="function.mcrypt-generic.php">mcrypt_generic</a> — This function encrypts data</li><li><a href="function.mcrypt-generic-deinit.php">mcrypt_generic_deinit</a> — This function deinitializes an encryption module</li><li><a href="function.mcrypt-generic-init.php">mcrypt_generic_init</a> — This function initializes all buffers needed for encryption</li><li><a href="function.mcrypt-get-block-size.php">mcrypt_get_block_size</a> — Gets the block size of the specified cipher</li><li><a href="function.mcrypt-get-cipher-name.php">mcrypt_get_cipher_name</a> — Gets the name of the specified cipher</li><li><a href="function.mcrypt-get-iv-size.php">mcrypt_get_iv_size</a> — Returns the size of the IV belonging to a specific cipher/mode combination</li><li><a href="function.mcrypt-get-key-size.php">mcrypt_get_key_size</a> — Gets the key size of the specified cipher</li><li><a href="function.mcrypt-list-algorithms.php">mcrypt_list_algorithms</a> — Gets an array of all supported ciphers</li><li><a href="function.mcrypt-list-modes.php">mcrypt_list_modes</a> — Gets an array of all supported modes</li><li><a href="function.mcrypt-module-close.php">mcrypt_module_close</a> — Closes the mcrypt module</li><li><a href="function.mcrypt-module-get-algo-block-size.php">mcrypt_module_get_algo_block_size</a> — Returns the blocksize of the specified algorithm</li><li><a href="function.mcrypt-module-get-algo-key-size.php">mcrypt_module_get_algo_key_size</a> — Returns the maximum supported keysize of the opened mode</li><li><a href="function.mcrypt-module-get-supported-key-sizes.php">mcrypt_module_get_supported_key_sizes</a> — Returns an array with the supported keysizes of the opened algorithm</li><li><a href="function.mcrypt-module-is-block-algorithm.php">mcrypt_module_is_block_algorithm</a> — This function checks whether the specified algorithm is a block algorithm</li><li><a href="function.mcrypt-module-is-block-algorithm-mode.php">mcrypt_module_is_block_algorithm_mode</a> — Returns if the specified module is a block algorithm or not</li><li><a href="function.mcrypt-module-is-block-mode.php">mcrypt_module_is_block_mode</a> — Returns if the specified mode outputs blocks or not</li><li><a href="function.mcrypt-module-open.php">mcrypt_module_open</a> — Opens the module of the algorithm and the mode to be used</li><li><a href="function.mcrypt-module-self-test.php">mcrypt_module_self_test</a> — This function runs a self test on the specified module</li><li><a href="function.mdecrypt-generic.php">mdecrypt_generic</a> — Decrypts data</li></ul></li></ul></div><?php manual_footer($setup); ?>