|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-11-27 04:09 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 08:00:01 2025 UTC |
<PRE><? srand ((double) microtime() * 1000000); for ($i=0;$i<100;$i++) { $rand = rand(); echo $rand; # try this script with and without the next line commented # echo ":".crypt($rand); echo "\n"; } ?></PRE> Also, crypt() seems to always use "i3" as a salt. I'm guessing this is somehow related. - Colin