use Crypt::Random::Source::Strong::SSLeay; my $src = Crypt::Random::Source::Strong::SSLeay->new; my $random = $src->get(1024);
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).
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.
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.
Yuval Kogman <firstname.lastname@example.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.