Files
doc-fr/reference/mcrypt/functions/mcrypt-cbc.xml
Yannick Torres 562f7463a4 syn with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@260200 c90b9560-bf6c-de11-be94-00142212c4b1
2008-05-24 07:52:02 +00:00

65 lines
2.3 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.13 $ -->
<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
<refentry xml:id="function.mcrypt-cbc" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>mcrypt_cbc</refname>
<refpurpose>Chiffre/déchiffre des données en mode CBC</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>mcrypt_cbc</methodname>
<methodparam><type>int</type><parameter>cipher</parameter></methodparam>
<methodparam><type>string</type><parameter>key</parameter></methodparam>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
<methodparam><type>int</type><parameter>mode</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>iv</parameter></methodparam>
</methodsynopsis>
<methodsynopsis>
<type>string</type><methodname>mcrypt_cbc</methodname>
<methodparam><type>string</type><parameter>cipher</parameter></methodparam>
<methodparam><type>string</type><parameter>key</parameter></methodparam>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
<methodparam><type>int</type><parameter>mode</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>iv</parameter></methodparam>
</methodsynopsis>
<para>
La première syntaxe utilise libmcrypt 2.2.x, et la seconde
libmcrypt 2.4.x. Le paramètre <parameter>mode</parameter> doit être
<constant>MCRYPT_ENCRYPT</constant> ou
<constant>MCRYPT_DECRYPT</constant>.
</para>
<para>
<function>mcrypt_cbc</function> ne doit plus être utilisée.
Vous pouvez la remplacer par
<function>mcrypt_generic</function> et
<function>mdecrypt_generic</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->