jsheets Sun Nov 10 22:08:40 2002 EDT
Modified files:
/phpdoc/en/reference/mcrypt reference.xml
Log:
Further example updating
Index: phpdoc/en/reference/mcrypt/reference.xml
diff -u phpdoc/en/reference/mcrypt/reference.xml:1.7
phpdoc/en/reference/mcrypt/reference.xml:1.8
--- phpdoc/en/reference/mcrypt/reference.xml:1.7 Sun Nov 10 17:06:47 2002
+++ phpdoc/en/reference/mcrypt/reference.xml Sun Nov 10 22:08:40 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<reference id="ref.mcrypt">
<title>Mcrypt Encryption Functions</title>
<titleabbrev>mcrypt</titleabbrev>
@@ -132,7 +132,7 @@
<programlisting role="php">
<![CDATA[
<?php
-$key = "this is a very secret key";
+$key = "this is a secret key";
$input = "Let us meet at 9 o'clock at the secret place.";
$encrypted_data = mcrypt_ecb (MCRYPT_3DES, $key, $input, MCRYPT_ENCRYPT);
@@ -159,6 +159,7 @@
mcrypt_generic_init ($td, $key, $iv);
$encrypted_data = mcrypt_generic ($td, $input);
mcrypt_generic_deinit ($td);
+ mcrypt_module_close ($td);
?>
]]>
</programlisting>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php