Crypt::Random::Source::Factory(3pm)

Crypt::Random::Source::Factory3pm

Load and instantiate sources of random data

Usage

    use Crypt::Random::Source::Factory;
    my $f = Crypt::Random::Source::Factory->new;
    my $strong = $f->get_strong;
    my $weak = $f->get_weak;
    my $any = $f->get;

Version

version 0.14

Overview

This class implements a loading and instantiation factory for Crypt::Random::Source objects.

If $ENV{CRYPT_RANDOM_NOT_PLUGGABLE} is set then only a preset list of sources will be tried. Otherwise Module::Find will be used to locate any installed sources, and use the first available one.

Methods

get %args

Instantiate any random source, passing %args to the constructor.

The "type" argument can be "weak", "strong" or "any".

get_weak %args

get_strong %args

Instantiate a new weak or strong random source.

Support

Bugs may be submitted through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=Crypt-Random-Source> (or [email protected] <mailto:[email protected]>).

Releases

7 releases since Debian 7 (Wheezy); the text changed 4 times.

  1. 7
  2. 8
  3. 9
  4. 10–11
  5. 12–13

Author

XXXX XXX'XX (Yuval Kogman) <[email protected]>

From libcrypt-random-source-perl 0.14-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.