[PHP-DOC] cvs: phpdoc /en/functions mcrypt.xml From: Jesus M. Castagnetto (jesusmc <email protected>)
Date: 09/14/00

jmcastagnetto Thu Sep 14 16:18:21 2000 EDT

  Modified files:
    /phpdoc/en/functions mcrypt.xml
  Log:
  Fixed typo: s/mcrypt_open_module/mcrypt_module_open/g in mcrypt.xml
  
  
Index: phpdoc/en/functions/mcrypt.xml
diff -u phpdoc/en/functions/mcrypt.xml:1.7 phpdoc/en/functions/mcrypt.xml:1.8
--- phpdoc/en/functions/mcrypt.xml:1.7 Thu Aug 10 13:12:03 2000
+++ phpdoc/en/functions/mcrypt.xml Thu Sep 14 16:18:21 2000
@@ -60,7 +60,7 @@
 $key = "this is a very secret key";
 $input = "Let us meet at 9 o'clock at the secret place.";
 
-$td = mcrypt_open_module (MCRYPT_TripleDES, "", MCRYPT_MODE_ECB);
+$td = mcrypt_module_open (MCRYPT_TripleDES, "", MCRYPT_MODE_ECB);
 $iv = mcrypt_create_iv (mcrypt_enc_get_iv_size ($td), MCRYPT_RAND);
 mcrypt_generic_init ($td, $key, $iv);
 $encrypted_data = mcrypt_generic ($td, $input);
@@ -134,7 +134,7 @@
     mcrypt-2.2.x API is that you can access the cipher from PHP with
     MCRYPT_ciphername. With the mcrypt-2.4.x API these constants also
     work, but it is possible to specify the name of the cipher as
- a string with a call to <function>mcrypt_open_module</function>.
+ a string with a call to <function>mcrypt_module_open</function>.
    </para>
    <para>
     Here is a short list of ciphers which are currently supported by