svn: /phpdoc/en/trunk/reference/strings/functions/ crypt.xml
| From: | Joey Smith | Date: | Fri, 19 Feb 2010 20:24:23 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/strings/functions/ crypt.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-6109@lists.php.net to get a copy of this message | ||
joey Fri, 19 Feb 2010 20:24:23 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=295263
Log:
Clarification on the salt format for Extended DES
via pajoye and 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-19 18:43:56 UTC (rev 295262)
+++ phpdoc/en/trunk/reference/strings/functions/crypt.xml 2010-02-19 20:24:23 UTC (rev 295263)
@@ -51,8 +51,10 @@
</listitem>
<listitem>
<simpara>
- <constant>CRYPT_EXT_DES</constant> - Extended DES-based encryption with a nine
character salt
- starting with "_", with the remainder coming from the alphabet
"/0-9A-Za-z".
+ <constant>CRYPT_EXT_DES</constant> - Extended DES-based encryption. The
"salt" is a
+ 9-character string consisting of an underscore followed by 4 bytes of iteration count and 4
+ bytes of salt. These are encoded as printable characters, 6 bits per character, least
+ significant character first. The values 0 to 63 are encoded as "./0-9A-Za-z".
</simpara>
</listitem>
<listitem>