Perl Interface to the Quantum Random Bit Generator Service

The Quantum Random Bit Generator Service at http://random.irb.hr/ is a free service that provide truly random data that is useful for scientific and advanced mathmatics applications.

The providers of the service have Windows and Linux binaries and provide source code for them. I thought a Perl module that interfaces with it might be useul to somebody.

Sample Usage

use Data::Random::QRBGS;

$qrbgs = new Data::Random::QRBGS('username', 'password');

@ints = $qrbgs->get(4);
print "Got random integers: @ints\n";

@shorts = $qrbgs->get(2, 's');
print "Got random shorts: @shorts\n";

$bytes = $qrbgs->getraw(1024);

Download

Original Release: Data-Random-QRBGS-0.01.tgz

CPAN Availability

I’m currently working on getting the module submitted to CPAN. It seems like it actually takes quite a bit of work for this to happen, so not sure how long it will take or if it will actually get accepted