NAME

Crypt::Random::Source::SSLeay - Net::SSLeay support for Crypt::Random::Source

SYNOPSIS

use Crypt::Random::Source::Strong::SSLeay;

my $src = Crypt::Random::Source::Strong::SSLeay->new;

my $random = $src->get(1024);

DESCRIPTION

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).

METHODS

get

Get 10 random or pseudorandom bytes (depending on strength) from Net::SSLeay.

seed

Currently unimplemented, but Net::SSLeay documents RAND_add. Might be added in the future.

VERSION CONTROL

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.

AUTHOR

Yuval Kogman <nothingmuch@woobling.org>

COPYRIGHT

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.