1Crypt::Random::Source::UFsaecrtoCroyn(t3rpimb)uted PerlCDroycputm:e:nRtaantdioomn::Source::Factory(3pm)
2
3
4
6 Crypt::Random::Source::Factory - Load and instantiate sources of random
7 data
8
10 version 0.14
11
13 use Crypt::Random::Source::Factory;
14
15 my $f = Crypt::Random::Source::Factory->new;
16
17 my $strong = $f->get_strong;
18
19 my $weak = $f->get_weak;
20
21 my $any = $f->get;
22
24 This class implements a loading and instantiation factory for
25 Crypt::Random::Source objects.
26
27 If $ENV{CRYPT_RANDOM_NOT_PLUGGABLE} is set then only a preset list of
28 sources will be tried. Otherwise Module::Find will be used to locate
29 any installed sources, and use the first available one.
30
32 get %args
33 Instantiate any random source, passing %args to the constructor.
34
35 The "type" argument can be "weak", "strong" or "any".
36
37 get_weak %args
38 get_strong %args
39 Instantiate a new weak or strong random source.
40
42 Bugs may be submitted through the RT bug tracker
43 <https://rt.cpan.org/Public/Dist/Display.html?Name=Crypt-Random-Source>
44 (or bug-Crypt-Random-Source@rt.cpan.org <mailto:bug-Crypt-Random-
45 Source@rt.cpan.org>).
46
48 XXXX XXX'XX (Yuval Kogman) <nothingmuch@woobling.org>
49
51 This software is copyright (c) 2008 by Yuval Kogman.
52
53 This is free software; you can redistribute it and/or modify it under
54 the same terms as the Perl 5 programming language system itself.
55
56
57
58perl v5.32.1 2021-01-27Crypt::Random::Source::Factory(3pm)