Man pages sections > man3 > Crypt::Random::Source

Crypt::Random::Source - Get weak or strong random data from pluggable sources

Crypt::Random::Source(3pm) User Contributed Perl Documentation Crypt::Random::Source(3pm)

NAME

Crypt::Random::Source - Get weak or strong random data from pluggable sources

VERSION

version 0.12

SYNOPSIS

    use Crypt::Random::Source qw(get_strong);
    # get 10 cryptographically strong random bytes from an available source
    my $bytes = get_strong(10);

DESCRIPTION

This 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.

EXPORTS

get
get_weak
get_strong
These functions delegate to a source chosen by an instance of Crypt::Random::Source::Factory, calling get

SEE ALSO

Crypt::Random, Crypt::Util

SUPPORT

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

AUTHOR

XXXX XXX'XX (Yuval Kogman) <nothingmuch@woobling.org>

CONTRIBUTORS

Karen Etheridge <ether@cpan.org>
Florian Ragwitz <rafl@debian.org>
Graham Knop <haarg@haarg.org>
David Pottage <spudsoup@cpan.org>
Max Kanat-Alexander <mkanat@es-compy.(none)>
This 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.
2017-10-24 perl v5.26.0