cvs: phpdoc /en/functions mcrypt.xml

From: Date: Wed, 18 Oct 2000 04:08:37 +0000
Subject: cvs: phpdoc /en/functions mcrypt.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969332522@lists.php.net to get a copy of this message
ronabop Tue Oct 17 21:08:37 2000 EDT Modified files: /phpdoc/en/functions mcrypt.xml Log: Updating info on 3DES/TripleDES Index: phpdoc/en/functions/mcrypt.xml diff -u phpdoc/en/functions/mcrypt.xml:1.11 phpdoc/en/functions/mcrypt.xml:1.12 --- phpdoc/en/functions/mcrypt.xml:1.11 Tue Oct 17 12:46:22 2000 +++ phpdoc/en/functions/mcrypt.xml Tue Oct 17 21:08:37 2000 @@ -37,13 +37,13 @@ and <function>mcrypt_ofb</function>) can operate in both modes which are named MCRYPT_ENCRYPT and MCRYPT_DECRYPT, respectively. <example> - <title>Encrypt an input value with TripleDES in ECB mode</title> + <title>Encrypt an input value with TripleDES under 2.2.x in ECB mode</title> <programlisting role="php"> &lt;?php $key = "this is a very secret key"; $input = "Let us meet at 9 o'clock at the secret place."; -$encrypted_data = mcrypt_ecb (MCRYPT_TripleDES, $key, $input, MCRYPT_ENCRYPT); +$encrypted_data = mcrypt_ecb (MCRYPT_3DES, $key, $input, MCRYPT_ENCRYPT); ?&gt; </programlisting> </example> @@ -54,7 +54,7 @@ If you linked against libmcrypt 2.4.x, these functions are still available, but it is recommended that you use the advanced functions. <example> - <title>Encrypt an input value with TripleDES in ECB mode</title> + <title>Encrypt an input value with TripleDES under 2.4.x in ECB mode</title> <programlisting role="php"> &lt;?php $key = "this is a very secret key"; @@ -144,6 +144,11 @@ <itemizedlist> <listitem> <simpara> + MCRYPT_3DES + </simpara> + </listitem> + <listitem> + <simpara> MCRYPT_ARCFOUR_IV (libmcrypt 2.4.x only) </simpara> </listitem> @@ -309,7 +314,7 @@ </listitem> <listitem> <simpara> - MCRYPT_TRIPLEDES + MCRYPT_TRIPLEDES (libmcrypt 2.4.x only) </simpara> </listitem> <listitem>

« previous php.doc (#969332522) next »