Random numbers on Linux

blitzed

Member
hi everyone, I have meant to post about goofing with random on Linux operating systems for a long time.

anyone else who goofs with Linux, you might wanna search your package manager for "haveged" or even "randomsound".
http://www.irisa.fr/caps/projects/hipsor/

afterwards, you can open up a terminal window, and get some decent raw numbers out with somethin like this:
cat /dev/random | od -d

and it will spit them out til you press Ctrl-C to break...anyway, something just cool about getting random numbers from your own computer, all the behind the scenes activity from the bits of hardware inside.

recently I took it to another level, my little Linux netbook here actually has an Entropy Key:santa: sticking out of a USB port, seriously true random numbers from my own computer wheee!
http://www.entropykey.co.uk/

I have been itching to build a little lottery computer with a humble VIA processor, which likewise has true random number generators built in:agree:
http://www.via.com.tw/en/initiatives/padlock/hardware.jsp apparently nextgen Intel CPU's will also offer true random too, but their chips are always at a premium, I'm happy with underdog AMD stuff:look:

anyway, at one point I was gonna try to build my own true random generator...I thought about input from between AM radio channels, light levels via cam, trailing digit of outside temp, etc...also, read that smoke detectors actually have a radioactive element inside, so I was gonna tryta geigercounter it, and generate lotto numbers based on the values...and then I saw these sources for nuclear elements, holy crap, I'm losing my mind http://unitednuclear.com/index.php?main_page=product_info&cPath=2_5&products_id=819

:hair: really happy with the Entropy Key, will have to tweak some programs around to shake out numbers how I like, instead of eyeball filtering and writing down some picks heh!

have fun!
blitzed:thumb:
 

blitzed

Member
citronz said:
By the way - AM radio channels is not bad idea after all :) Better than lava lamps (http://en.wikipedia.org/wiki/Lavarand) :)
But you also can just take RND numbers from here
http://www.random.org/randomness/

hiya citronz, yes AM signals, I really have to dig out the patch cable I know I have in a junk box, it'd be cool to benchmark...as for the lavalamp idea, neat but it burns more watts than a highend processor & is slow:rolling:

Random.org is cool, and I have actually emailed with Mads Haahr who runs that site. what would be even cooler, is to get atmospheric data from other planets...I've heard clips of storms on the big planets :)

anyway, I like local random sources...I like talking to the computer and asking it to shake out some lucky numbers from it's own hardware and my programs...kinda like bein able to blow on dice while playin craps in a casino, or askin a hot chick to do it:bounce:

cheers!
blitzed:thumb:
 

Sidebar

Top