<div dir="ltr"><div dir="ltr"><div> > The author of this routine has been writing </div><div>>   random-number generators for many years and has </div><div>>   never been known to write one that worked.</div><div><br></div><div>It sounds like Ken to me. Although everybody had his</div><div>own favorite congruential random number generator,</div><div>some worse than others, I believe it was Ken who put</div><div>one in the math library.</div><div><br></div><div>The very fact that rand existed, regardless of its quality,</div><div>enabled a lovely exploit. When Ken pioneered password</div><div>cracking by trying every word in word lists at hand, one</div><div>of the password files he found plenty of hits in came from </div><div>Berkeley. He told them and they responded by assigning<br></div><div>random passwords to everybody. That was a memorable</div><div>error. Guessing that the passwords were generated by</div><div>a simple encoding of the output of rand, Ken promptly </div><div>broke 100% of the newly "hardened" password file. </div><div><br></div><div>Doug</div></div></div>