2002-04-15 00:12:54 +00:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
2004-02-09 08:44:52 +00:00
|
|
|
<!-- $Revision: 1.6 $ -->
|
2002-04-15 00:12:54 +00:00
|
|
|
<!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.2 -->
|
|
|
|
<refentry id="function.mcrypt-ecb">
|
|
|
|
<refnamediv>
|
|
|
|
<refname>mcrypt_ecb</refname>
|
2004-02-06 14:03:52 +00:00
|
|
|
<refpurpose>Deprecated: Encrypt/decrypt data in ECB mode</refpurpose>
|
2002-04-15 00:12:54 +00:00
|
|
|
</refnamediv>
|
|
|
|
<refsect1>
|
|
|
|
<title>Description</title>
|
2004-02-09 08:44:52 +00:00
|
|
|
<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>
|
2002-04-15 00:12:54 +00:00
|
|
|
<para>
|
2004-02-09 08:44:52 +00:00
|
|
|
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 is deprecated and should not be used anymore, see
|
|
|
|
<function>mcrypt_generic</function> and
|
2002-05-12 21:00:20 +00:00
|
|
|
<function>mdecrypt_generic</function> for replacements.
|
2002-04-15 00:12:54 +00:00
|
|
|
</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
|
|
|
|
-->
|