mirror of
https://github.com/php/doc-ru.git
synced 2025-08-16 18:22:04 +00:00
Added unreviewed translation.
git-svn-id: https://svn.php.net/repository/phpdoc/ru/trunk@321374 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
62
reference/mcrypt/functions/mcrypt-cbc.xml
Normal file
62
reference/mcrypt/functions/mcrypt-cbc.xml
Normal file
@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 4a5d31d554bd9208d62867842522926e67639705 Maintainer: mch Status: ready -->
|
||||
<!-- $Revision$ -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xml:id="function.mcrypt-cbc" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>mcrypt_cbc</refname>
|
||||
<refpurpose>Шифрует/дешифрует даные в режиме 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>
|
||||
Первый прототип работает при связке с libmcrypt 2.2.x, второй - при связке с libmcrypt 2.4.x или выше.
|
||||
Параметр <parameter>mode</parameter> должен быть либо
|
||||
<constant>MCRYPT_ENCRYPT</constant>, либо
|
||||
<constant>MCRYPT_DECRYPT</constant>.
|
||||
</para>
|
||||
<para>
|
||||
Эта функция больше не используется. Смотрите
|
||||
<function>mcrypt_generic</function> и
|
||||
<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:"~/.phpdoc/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
|
||||
-->
|
Reference in New Issue
Block a user