Crypt::Random::Source::SSLeay - Net::SSLeay support for Crypt::Random::Source
use Crypt::Random::Source::Strong::SSLeay; my $src = Crypt::Random::Source::Strong::SSLeay->new; my $random = $src->get(1024);
This module implements Net::SSLeay based random number generation for Crypt::Random::Source.
Net::SSLeay does not wrap the SSL api, and RAND_bytes is documented as being cryptographically strong, so Crypt::Random::Source::Strong::SSLeay is also provided (as opposed to the other OpenSSL based sources).
RAND_bytes
Get 10 random or pseudorandom bytes (depending on strength) from Net::SSLeay.
Currently unimplemented, but Net::SSLeay documents RAND_add. Might be added in the future.
RAND_add
This module is maintained using Darcs. You can get the latest version from http://nothingmuch.woobling.org/code, and use darcs send to commit changes.
darcs send
Yuval Kogman <nothingmuch@woobling.org>
Copyright (c) 2008 Yuval Kogman. All rights reserved This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Crypt::Random::Source::SSLeay, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Crypt::Random::Source::SSLeay
CPAN shell
perl -MCPAN -e shell install Crypt::Random::Source::SSLeay
For more information on module installation, please visit the detailed CPAN module installation guide.