Date: Sun, 02 Feb 2003 16:22:23 -0800 From: Terry Lambert <tlambert2@mindspring.com> To: Doug Barton <DougB@FreeBSD.org> Cc: Bakul Shah <bakul@bitblocks.com>, current@FreeBSD.org Subject: Re: rand() is broken Message-ID: <3E3DB63F.EA64E2D6@mindspring.com> References: <200302022006.PAA25355@valiant.cnchost.com> <20030202131437.V79739@12-234-22-23.pyvrag.nggov.pbz>
next in thread | previous in thread | raw e-mail | index | archive | help
Doug Barton wrote: > I can think of one significant benefit... I had noticed that my perl > script to pick random windowmaker themes (which uses rand()) seemed to be > picking the same themes over and over again. Now I know why. :) I had to > create a "last seen" list to artificially increase the "randomness." Oh > wait, TWO benefits... xscreensaver is having the same problem. Use /dev/random. You have to get some benefit back from it making all your interrupt handlers just that much slower so it could "harvest entropy" ``for'' you... -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E3DB63F.EA64E2D6>