Re: RNG Test: Code to generate Diehard file in Euphoria
- Posted by Everett Williams <rett at GVTC.COM> Feb 17, 2000
- 751 views
Robert Craig wrote: >Joel H. Crook writes: > >> Maybe RDS might like to weigh in and state the >> source and/or type of RNG that is coded into Euphoria. > >I got the algorithm from a paper that was published about >10 years ago. The algorithm is public domain, and was >claimed to have better randomness than most other algorithms >of that time. Since some users depend on this algorithm >for encrypting their data, I'd rather not make the details public. > >If you find any defects or shortcomings in rand() please >let me know exactly what they are. So far all I've heard >is "good for most purposes" or "doesn't measure up well >on some of the (completely unspecified) tests". If you would like to see the homepage of the Diehard test and download the DOS version that I and several others have been using, you can go to this URL http://stat.fsu.edu/~geo/diehard.html It appears to be legit. I can't see why publishing the source for your rand() would have any effect on the encrypters since you have provided a method to change the key. If the randomness is reasonable, knowing the code will give very little leverage to anyone. As I have noted in other posts, rand() appears to do quite well. Using #FFFF for a range and an atom to store into appears to produce a full 32 bit range. Everett L.(Rett) Williams rett at gvtc.com