Crypt::Random::Source - Get weak or strong random data from pluggable sources.
use Crypt::Random::Source qw(get_strong); # get 10 cryptographically strong random bytes from an available source my $bytes = get_strong(10);
This module provides implementations for a number of byte oriented sources of random data.
See Crypt::Random::Source::Factory for a more powerful way to locate sources, and the various sources for specific implementations.
These functions delegate to a source chosen by an instance of Crypt::Random::Source::Factory, calling get
Crypt::Random, Crypt::Util
http://github.com/nothingmuch/crypt-random-source
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, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Crypt::Random::Source
CPAN shell
perl -MCPAN -e shell install Crypt::Random::Source
For more information on module installation, please visit the detailed CPAN module installation guide.