dave Wed Aug 4 14:33:59 2004 EDT
Modified files: /phpdoc/en/reference/strings/functions crypt.xml Log: - CS. http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/crypt.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/strings/functions/crypt.xml diff -u phpdoc/en/reference/strings/functions/crypt.xml:1.6 phpdoc/en/reference/strings/functions/crypt.xml:1.7 --- phpdoc/en/reference/strings/functions/crypt.xml:1.6 Wed Aug 4 12:43:12 2004 +++ phpdoc/en/reference/strings/functions/crypt.xml Wed Aug 4 14:33:59 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --> <refentry id="function.crypt"> <refnamediv> @@ -126,17 +126,21 @@ <programlisting role="php"> <![CDATA[ <?php -if (CRYPT_STD_DES == 1) +if (CRYPT_STD_DES == 1) { echo 'Standard DES: ' . crypt('rasmuslerdorf', 'rl') . "\n"; +} -if (CRYPT_EXT_DES == 1) +if (CRYPT_EXT_DES == 1) { echo 'Extended DES: ' . crypt('rasmuslerdorf', '_J9..rasm') . "\n"; +} -if (CRYPT_MD5 == 1) +if (CRYPT_MD5 == 1) { echo 'MD5: ' . crypt('rasmuslerdorf', '$1$rasmusle$') . "\n"; +} -if (CRYPT_BLOWFISH == 1) +if (CRYPT_BLOWFISH == 1) { echo 'Blowfish: ' . crypt('rasmuslerdorf', '$2a$07$rasmuslerd...........$') . "\n"; +} ?> ]]> </programlisting>