lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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