Home page logo

bugtraq logo Bugtraq mailing list archives

Re: Flaw in commonly used bash random seed method
From: Matthijs <thotter () gmail com>
Date: Tue, 4 Apr 2006 17:02:12 +0200

Erm excuse me, the seed should be 4 BYTES, not bits.
I should really check my posts better before hitting send...

On 4/4/06, Matthijs <thotter () gmail com> wrote:
altough it returns a number between 0 and 32767, it indeed saves a 32
bit number, so the cycle length of this linear congruential generator
is actually 2^32. So yes, the seed should be 4 bits and the generator
is better then I first tought. Sorry about that, I should have checked
the code a bit more careful.

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]