mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
a4f5a950db
commit
ddcfad2b60
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue