1Crypt::Random::Source(3U)ser Contributed Perl DocumentatiCornypt::Random::Source(3)
2
3
4
6 Crypt::Random::Source - Get weak or strong random data from pluggable
7 sources
8
10 use Crypt::Random::Source qw(get_strong);
11
12 # get 10 cryptographically strong random bytes from an available source
13 my $bytes = get_strong(10);
14
16 This module provides implementations for a number of byte oriented
17 sources of random data.
18
19 See Crypt::Random::Source::Factory for a more powerful way to locate
20 sources, and the various sources for specific implementations.
21
23 get
24 get_weak
25 get_strong
26 These functions delegate to a source chosen by an instance of
27 Crypt::Random::Source::Factory, calling get
28
30 Crypt::Random, Crypt::Util
31
33 Yuval Kogman <nothingmuch@woobling.org>
34
36 This software is copyright (c) 2011 by Yuval Kogman.
37
38 This is free software; you can redistribute it and/or modify it under
39 the same terms as the Perl 5 programming language system itself.
40
41
42
43perl v5.12.3 2011-01-05 Crypt::Random::Source(3)