NAME
Net::Random::QRBG - Get random numbers/data from Quantum Random Bit Generator Service.
VERSION
Version 0.01alpha
SYNOPSIS
use Net::Random::QRBG;
$qrbg = new Net::Random::QRBG('username', 'password');
@ints = $qrbg->get(4);
print "Got random integers: @ints\n";
@shorts = $qrbg->get(2, 's');
print "Got random shorts: @shorts\n";
$bytes = $qrbg->getraw(1024);
DESCRIPTION
Net::Random::QRBG connects directly to the QRBG Service and retrieves the specified number of random bytes from the datastream returned.
This is a Perl version client for QRBG Service API, much like a Perl porting of PHP's QRBG Service Access class. The OO interface is now borrow from Brandon Checketts' Data::Random::QRBGS, which is not availiable on CPAN. In next version I'll fix the OO interface to be compactible with the official C++ method names.
METHODS
new
getraw
get
AUTHOR
BlueT - Matthew Lien - 練喆明, <BlueT at BlueT.org>
BUGS
Please report any bugs or feature requests to bug-net-random-QRBG at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-Random-QRBG. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Net::Random::QRBG
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
QRBG: Quantum Random Bit Generator Service
Brandon Checketts' Data::Random::QRBGS
QRBG Service Access class for PHP
COPYRIGHT & LICENSE
Copyright 2010 BlueT - Matthew Lien - 練喆明, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
3 POD Errors
The following errors were encountered while parsing the POD:
- Around line 179:
Non-ASCII character seen before =encoding in '練喆明,'. Assuming CP1252
- Around line 222:
'=item' outside of any '=over'
- Around line 235:
You forgot a '=back' before '=head1'