-
-
10 Apr 2018 02:58:59 UTC
- Distribution: Crypt-Random-Source
- Module version: 0.14
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (1)
- Testers (3659 / 34 / 0)
- Kwalitee
Bus factor: 1- 75.11% Coverage
- License: perl_5
- Perl: v5.8.0
- Activity
24 month- Tools
- Download (35.51KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 6 contributors-
ΧΧΧΧ Χ§ΧΧ'ΧΧ (Yuval Kogman)
-
Florian Ragwitz
-
Graham Knop
-
David Pottage
-
Max Kanat-Alexander
-
Edward Betts
- NAME
- VERSION
- SYNOPSIS
- DESCRIPTION
- EXPORTS
- CAVEATS
- SEE ALSO
- SUPPORT
- AUTHOR
- CONTRIBUTORS
- COPYRIGHT AND LICENCE
NAME
Crypt::Random::Source - Get weak or strong random data from pluggable sources
VERSION
version 0.14
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
CAVEATS
In versions prior to 0.13,
rand
could be used as a result of callingget_weak
, orget
, if no random device was available. This implies that not explicitly asking forget_strong
on a non POSIX operating system (e.g. Win32 without the Win32 backend) could have resulted in non cryptographically random data.Relatedly, the characterization of
urandom
as a weak source of randomness is also largely a misconception, see https://www.2uo.de/myths-about-urandom/ for example.SEE ALSO
SUPPORT
Bugs may be submitted through the RT bug tracker (or bug-Crypt-Random-Source@rt.cpan.org).
AUTHOR
יובל קוג'מן (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)>
Edward Betts <edward@4angle.com>
COPYRIGHT AND LICENCE
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.
Module Install Instructions
To install Crypt::Random::Source, copy and paste the appropriate command in to your terminal.
cpanm Crypt::Random::Source
perl -MCPAN -e shell install Crypt::Random::Source
For more information on module installation, please visit the detailed CPAN module installation guide.