<div dir="ltr">i wrote the generator.<div>dmr or rhm wrote the comment.</div><div>it came about after one of the first</div><div>drafts of a graphical pool game.</div><div>the balls were points and the test</div><div>was the bouncing off the edge of</div><div>the pool table. the balls were placed</div><div>at "random" places on the table,</div><div>they were started with "random"</div><div>directions and "random" velocities.</div><div>frictionless it ran forever.</div><div><br></div><div>after many minutes, from a mess</div><div>of dots, they form a line, later a couple</div><div>lines, later several points, and finally</div><div>after a large fraction of an hour, all the</div><div>balls would converge on a single dot.</div><div><br></div><div>that version of the program was saved</div><div>with the name "wierd" (spelling on purpose).</div><div>i have no idea if it exists now.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 12, 2024 at 7:38 AM Douglas McIlroy <<a href="mailto:douglas.mcilroy@dartmouth.edu">douglas.mcilroy@dartmouth.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><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>
</blockquote></div>