note 74344 deleted from function.crypt by joey

From: Date: Sat, 19 May 2012 20:40:21 +0000
Subject: note 74344 deleted from function.crypt by joey
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-188082@lists.php.net to get a copy of this message
Note Submitter: leth at nowhere dot not ---- for me(on OpenBSD4.0+Apache 1.3(standard)+php4.3.10) blowfish seems to work if you do something like this: if (CRYPT_BLOWFISH == 1) { $salt="this should really be a long line of salt"; $blowfish_salt = "\$2a\$07\$".substr($salt, 0, CRYPT_SALT_LENGTH); echo crypt($pass, $blowfish_salt); } of course with $salt set as a good long salt.

« previous php.notes (#188082) next »