Re: Re: Crypt salts not random.. (fwd)

From: Date: Sun, 29 Apr 2001 11:57:00 +0000
Subject: Re: Re: Crypt salts not random.. (fwd)
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-52883@lists.php.net to get a copy of this message
At 01:55 PM 4/29/2001 +0300, Zeev Suraski wrote:
At 13:58 29/4/2001, Andi Gutmans wrote:
The seed was initialized in MINIT before the children forked. So what happened was that the children started returning the same random numbers.
It doesn't really matter where it was initialized, but rather, when it was initialized...
Well as it was initialized in MINIT it is initialized *exactly* at the same time for all apache children. Therefore, the numbers returned by each child are the same.
Jani - are you getting the same values after 5 reloads? Or any chance you're getting the same value if you're reloading very quickly, at the same second?
Andi

« previous php.dev (#52883) next »