note 8339 added to crypt

From: Date: Wed, 06 Sep 2000 23:51:02 +0000
Subject: note 8339 added to crypt
Groups: php.notes 
Request: Send a blank email to php-notes+get-4279@lists.php.net to get a copy of this message
"If the salt argument is not provided, it will be randomly generated by PHP." This statement is FALSE. As of 4.01pl2, ONE random salt is created... meaning that if you recursively run the crypt() you will be using the same salt. This can be a feature in RARE situations, but I recommend that you create your own random code to make a salt. http://www.php.net/manual/function.crypt.php

« previous php.notes (#4279) next »