Index of /ports_net/p5-Net-Random
Name Last modified Size
Parent Directory -
Makefile 28-Apr-2008 18:15 543
distinfo 28-May-2011 14:08 135
pkg-descr 14-Dec-2005 10:01 843
pkg-plist 22-Jan-2006 05:45 208
Net::Random - get random data from online sources
This module gets truly random data from online sources. Or at least,
they claim to be truly random.
The two sources of randomness above correspond to
http://www.fourmilab.ch/cgi-bin/uncgi/Hotbits?nbytes=1024&fmt=hex and
http://random.org/cgi-bin/randbyte?nbytes=1024&format=hex.
We always get chunks of 1024 bytes at a time, storing it in a pool
which is used up as and when needed. The pool is shared between all
objects using the same randomness source. When we run out of randomness
we go back to the source for more juicy random goodness.
The maintainers of both randomness sources claim that their data
is *truly* random. A some simple tests show that they are certainly
more random than the rand() function on this 'ere machine.
WWW: http://search.cpan.org/dist/Net-Random/