svn: /phpdoc/en/trunk/reference/strings/functions/ crypt.xml
| From: | Joey Smith | Date: | Thu, 18 Feb 2010 00:10:10 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/strings/functions/ crypt.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-6098@lists.php.net to get a copy of this message | ||
joey Thu, 18 Feb 2010 00:10:10 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=295224
Log:
Current blowfish implementation is limited to 2**4-2**31, according to
Solar Designer.
Changed paths:
U phpdoc/en/trunk/reference/strings/functions/crypt.xml
Modified: phpdoc/en/trunk/reference/strings/functions/crypt.xml
===================================================================
--- phpdoc/en/trunk/reference/strings/functions/crypt.xml 2010-02-17 23:06:13 UTC (rev 295223)
+++ phpdoc/en/trunk/reference/strings/functions/crypt.xml 2010-02-18 00:10:10 UTC (rev 295224)
@@ -67,7 +67,7 @@
"$2a$", a two digit cost parameter, "$", and 22 base 64 digits from the
alphabet
"./0-9A-Za-z". Using characters outside of this range in the salt will cause crypt()
to return
a zero-length string. The two digits set the cost parameter, where the output will be fed back
- into the Blowfish cipher 2^cost times. The cost parameter must be in range 03-39, values
outside
+ into the Blowfish cipher 2^cost times. The cost parameter must be in range 04-31, values
outside
this range will cause crypt() to select DES-based encryption instead, with a salt of
'$2'.
</simpara>
</listitem>