svn: /phpdoc/en/trunk/reference/strings/functions/ crypt.xml
| From: | Adam Harvey | Date: | Wed, 10 Mar 2010 07:37:22 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/strings/functions/ crypt.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-6180@lists.php.net to get a copy of this message | ||
aharvey Wed, 10 Mar 2010 07:37:22 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=296019
Log:
Fixed bug #51255 (crypt() example for SHA512 is wrong).
Bug: http://bugs.php.net/51255 (Open) crypt() example for
SHA512 is wrong
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-03-10 07:26:42 UTC (rev 296018)
+++ phpdoc/en/trunk/reference/strings/functions/crypt.xml 2010-03-10 07:37:22 UTC (rev 296019)
@@ -237,7 +237,7 @@
}
if (CRYPT_SHA512 == 1) {
- echo 'SHA-512: ' . crypt('rasmuslerdorf',
'$5$rounds=5000$usesomesillystringforsalt$') . "\n";
+ echo 'SHA-512: ' . crypt('rasmuslerdorf',
'$6$rounds=5000$usesomesillystringforsalt$') . "\n";
}
?>
]]>