1Crypt::Random::Source::UFsaecrtoCroyn(t3r)ibuted Perl DoCcruympetn:t:aRtainodnom::Source::Factory(3)
2
3
4

NAME

6       Crypt::Random::Source::Factory - Load and instantiate sources of random
7       data
8

SYNOPSIS

10           use Crypt::Random::Source::Factory;
11
12           my $f = Crypt::Random::Source::Factory->new;
13
14           my $strong = $f->get_strong;
15
16           my $weak = $f->get_weak;
17
18           my $any = $f->get;
19

DESCRIPTION

21       This class implements a loading and instantiation factory for
22       Crypt::Random::Source objects.
23
24       If $ENV{CRYPT_RANDOM_NOT_PLUGGABLE} is set then only a preset list of
25       sources will be tried. Otherwise Module::Find will be used to locate
26       any installed sources, and use the first available one.
27

METHODS

29   get %args
30       Instantiate any random source, passing %args to the constructor.
31
32       The "type" argument can be "weak", "strong" or "any".
33
34   get_weak %args
35   get_strong %args
36       Instantiate a new weak or strong random source.
37

AUTHOR

39         Yuval Kogman <nothingmuch@woobling.org>
40
42       This software is copyright (c) 2011 by Yuval Kogman.
43
44       This is free software; you can redistribute it and/or modify it under
45       the same terms as the Perl 5 programming language system itself.
46
47
48
49perl v5.12.3                      2011-01-05 Crypt::Random::Source::Factory(3)
Impressum