[ QUOTE ]
[ QUOTE ]
Does anybody know of a RNG which will let me just take the bottom N bits and still give a good distribution, and/or a faster method by which I could fold the keys?
Juk [img]/images/graemlins/smile.gif[/img]
[/ QUOTE ]
George Marsaglia, who devoted his professional (academic) life to RNGs, posted the following articles to the usenet sci.math group a few years ago. I think you might find them of interest:
http://groups.google.com/group/sci.m...66dd138f?hl=en
http://groups.google.com/group/sci.m...f4d574a5?hl=en
[/ QUOTE ]
Thanks, I'll give them a try.
Juk [img]/images/graemlins/smile.gif[/img]