1Crypt::Random::Source(3Upsme)r Contributed Perl DocumentaCtriyopnt::Random::Source(3pm)
2
3
4

NAME

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

VERSION

10       version 0.14
11

SYNOPSIS

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

DESCRIPTION

19       This module provides implementations for a number of byte oriented
20       sources of random data.
21
22       See Crypt::Random::Source::Factory for a more powerful way to locate
23       sources, and the various sources for specific implementations.
24

EXPORTS

26       get
27       get_weak
28       get_strong
29           These functions delegate to a source chosen by an instance of
30           Crypt::Random::Source::Factory, calling get
31

CAVEATS

33       In versions prior to 0.13, "rand" could be used as a result of calling
34       "get_weak", or "get", if no random device was available. This implies
35       that not explicitly asking for "get_strong" on a non POSIX operating
36       system (e.g.  Win32 without the Win32 backend) could have resulted in
37       non cryptographically random data.
38
39       Relatedly, the characterization of "urandom" as a weak source of
40       randomness is also largely a misconception, see
41       <https://www.2uo.de/myths-about-urandom/> for example.
42

SEE ALSO

44       Crypt::Random, Crypt::Util
45

SUPPORT

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

AUTHOR

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

CONTRIBUTORS

56       ·   Karen Etheridge <ether@cpan.org>
57
58       ·   Florian Ragwitz <rafl@debian.org>
59
60       ·   Graham Knop <haarg@haarg.org>
61
62       ·   David Pottage <spudsoup@cpan.org>
63
64       ·   Max Kanat-Alexander <mkanat@es-compy.(none)>
65
66       ·   Edward Betts <edward@4angle.com>
67
69       This software is copyright (c) 2008 by Yuval Kogman.
70
71       This is free software; you can redistribute it and/or modify it under
72       the same terms as the Perl 5 programming language system itself.
73
74
75
76perl v5.30.0                      2019-07-26        Crypt::Random::Source(3pm)
Impressum