tis one is deprecated

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@150621 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Mehdi Achour 2004-02-06 14:03:52 +00:00
parent 6285fdaacc
commit b5dae32ac8

View file

@ -1,38 +1,15 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.2 -->
<refentry id="function.mcrypt-ecb">
<refnamediv>
<refname>mcrypt_ecb</refname>
<refpurpose>Encrypt/decrypt data in ECB mode</refpurpose>
<refpurpose>Deprecated: Encrypt/decrypt data in ECB mode</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>string</type><methodname>mcrypt_ecb</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>
</methodsynopsis>
<methodsynopsis>
<type>string</type><methodname>mcrypt_ecb</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>
The first prototype is when linked against libmcrypt 2.2.x, the
second when linked against libmcrypt 2.4.x or higher. The
<parameter>mode</parameter> should be either
<constant>MCRYPT_ENCRYPT</constant> or
<constant>MCRYPT_DECRYPT</constant>.
</para>
<para>
This function should not be used anymore, see
<function>mcrypt_generic</function> and
This function is deprecated, see <function>mcrypt_generic</function> and
<function>mdecrypt_generic</function> for replacements.
</para>
</refsect1>