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.
Current thread:
- Flaw in commonly used bash random seed method coderpunk (Apr 03)
- Re: Flaw in commonly used bash random seed method Matthijs (Apr 03)
- Re: Flaw in commonly used bash random seed method Dave English (Apr 04)
- Re: Flaw in commonly used bash random seed method Matthijs (Apr 04)
- Re: Flaw in commonly used bash random seed method Matthijs (Apr 04)
- Re: Flaw in commonly used bash random seed method Dave English (Apr 04)
- Re: Flaw in commonly used bash random seed method Dave Korn (Apr 05)
- Re: Flaw in commonly used bash random seed method Steve VanDevender (Apr 10)
- Re: Flaw in commonly used bash random seed method Matthijs (Apr 03)