Hi!

Theoretically, yes, of course I could just try to create an arbitrary sized file from /dev/urandom via dd. I hoped there would be an equally both fast and elegant solution possible as with the C approach (malloc without init). Bob's idea of just reading and piping files from /bin or /usr/bin was also a good idea.

Some modern processors and/or chipsets have a build-in hardware random number generator. Depending on your operating system, you might be able to use them. They are usually *very* fast and get you good random numbers.

I uses the one from Soekris which works quite well under recent FreeBSD's:
http://www.soekris.com/vpn1401.htm

There's also a RNG in many AMD Geode's, which also seeds /dev/random through the glxsb driver.

See also
http://en.wikipedia.org/wiki//dev/random
http://en.wikipedia.org/wiki/Hardware_random_number_generator

LG
Rene

--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to