didou           Mon Feb  9 03:44:53 2004 EDT

  Modified files:              
    /phpdoc/en/reference/mcrypt/functions       mcrypt-ecb.xml 
  Log:
  put the doc online again
  
http://cvs.php.net/diff.php/phpdoc/en/reference/mcrypt/functions/mcrypt-ecb.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/mcrypt/functions/mcrypt-ecb.xml
diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-ecb.xml:1.5 
phpdoc/en/reference/mcrypt/functions/mcrypt-ecb.xml:1.6
--- phpdoc/en/reference/mcrypt/functions/mcrypt-ecb.xml:1.5     Fri Feb  6 09:03:52 
2004
+++ phpdoc/en/reference/mcrypt/functions/mcrypt-ecb.xml Mon Feb  9 03:44:52 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
 <!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.2 -->
   <refentry id="function.mcrypt-ecb">
    <refnamediv>
@@ -8,8 +8,31 @@
    </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>
-     This function is deprecated, see <function>mcrypt_generic</function> and
+     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
      <function>mdecrypt_generic</function> for replacements.
     </para>
    </refsect1>

Reply via email to