note 29734 deleted from function.crypt by aidan
| From: | aidan@php.net | Date: | Mon, 05 Jul 2004 10:28:15 +0000 |
| Subject: | note 29734 deleted from function.crypt by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-72586@lists.php.net to get a copy of this message | ||
Note Submitter: alexanderangelov@abv.bg
----
The previous example is very useful. Just a little note:
instead of
$salt = substr("$row[Value]", 0, 12);
you can use this
$salt = substr("$row[Value]", 0, CRYPT_SALT_LENGTH);
but the choice is still yours. :)