Added a warning for not using ascii keys to mcrypt functions.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@34015 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Nikos Mavroyanopoulos 2000-10-17 19:46:22 +00:00
parent a4f5a950db
commit ddcfad2b60

View file

@ -961,7 +961,9 @@ foreach ($modes as $mode) {
<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