LCE: Don't play dice with random numbers
LCE: Don't play dice with random numbers
Posted Nov 21, 2012 4:03 UTC (Wed) by vomlehn (guest, #45588)In reply to: LCE: Don't play dice with random numbers by dlang
Parent article: LCE: Don't play dice with random numbers
I think the essence of the article is really that you should be very aware of how random things really are. Not too long ago, I needed to generate 10-bit values so that I could compute, at boot time, close-to-unique MAC addresses for the primary network interface. I let this algorithm run for a while, capturing the output. Good idea, because the first cut, just using the kernel equivalent of /dev/random, had nowhere near enough entropy and would have failed dismally. I ended up reading serial numbers and such in the hardware to help get me something useful.
