random()
Hi all,
Is possible that the function:
random(1,n)
called with a short delay (let's say 1.5 sec) one from each other will return several time in a row the same value (es y). And this is more visible if "n" is not so much far from 1 so that the numbers to randomize are few.
es. of output I mean (1..4) : 2,2,2,2,2,3
Is possible to add some more entropy to this function or rewrite it in other way (es. scaling the number to something larger ?) to get something like:
1,4,3,3,2,4,1 etc etc ...
Thanks for attention.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
|