in reply to Source of genuine random numbers
Hotbits only offers a limited number of bits and generates bits at a modest pace. It's good for seeding a PRNG, though. You should check out Math::Random::MT::Auto, which can be set to seed a very strong PRNG automatically from Hotbits.
use Math::Random::MT::Auto qw( rand hotbits );
-xdg
Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
|
|---|