use Crypt::Random::Source qw(get_strong);
# get 10 cryptographically strong random bytes from an available source
my $bytes = get_strong(10);
DESCRIPTIONThis 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
AUTHORXXXX XXX'XX (Yuval Kogman) <[email protected]>
COPYRIGHT AND LICENSEThis software is copyright (c) 2008 by Yuval Kogman.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.