cvs: phpdoc /en/functions mcrypt.xml
| From: | Nikos Mavroyanopoulos | Date: | Tue, 17 Oct 2000 19:46:22 +0000 |
| Subject: | cvs: phpdoc /en/functions mcrypt.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969332512@lists.php.net to get a copy of this message | ||
nmav Tue Oct 17 12:46:22 2000 EDT
Modified files:
/phpdoc/en/functions mcrypt.xml
Log:
Added a warning for not using ascii keys to mcrypt functions.
Index: phpdoc/en/functions/mcrypt.xml
diff -u phpdoc/en/functions/mcrypt.xml:1.10 phpdoc/en/functions/mcrypt.xml:1.11
--- phpdoc/en/functions/mcrypt.xml:1.10 Sat Sep 30 10:11:38 2000
+++ phpdoc/en/functions/mcrypt.xml Tue Oct 17 12:46:22 2000
@@ -961,7 +961,9 @@
<para>
<parameter>Key</parameter> is the key with which the data
will be encrypted. If it's smaller that the required keysize, it
- is padded with '\0'.
+ is padded with '\0'. It is better not to use ASCII strings for
+ keys. It is recommended to use the mhash functions to create a key
+ from a string.
</para>
<para>
<parameter>Data</parameter> is the data that will be encrypted