Crypt::Random::Source::Weak::openssl is a Perl module to get random bytes from the OpenSSL command line utility.
SYNOPSIS
use Crypt::Random::Source::Strong::openssl;
my $source = Crypt::Random::Source::Weak::openssl->new
my $bytes = $source->get(1024); # get 1kb of random bytes
This is a weak random byte source because openssl rand is a PRNG.
This is a subclass of Crypt::Random::Source::Base::Proc.
Due to the retarded nature of the rand command line utility's interface, it must repeatedly be invoked with default_chunk_size as number of random bytes to generate.
Product's homepage
Requirements:
· Perl