[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Good random seeds.
- From: Jorge Visca <xxopxe@...>
- Date: Thu, 15 May 2008 20:31:35 -0300
Petite Abeille wrote:
> If the quality of the PRNG is important to you, don't use math.random :)
Oh, it's not cryptographic stuff, just unique-ish identifier creation,
for runtime lived entities. The only danger is the cicle size... I don't
know the technical term for that, when the random secuence starts to
repeat itself. I seem to remember in old Turbo Pascal you could even
specify the secuence length.
Well, thanks for all the pointers (and code!). Seems like taping into
/dev/random is the way to go.
Jorge