יובל קוג'מן (Yuval Kogman) > Crypt-Random-Source-0.05 > Crypt::Random::Source

Download:
Crypt-Random-Source-0.05.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.05   Source  

NAME ^

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

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

VERSION CONTROL ^

http://github.com/nothingmuch/crypt-random-source

AUTHOR ^

Yuval Kogman <nothingmuch@woobling.org>

COPYRIGHT ^

        Copyright (c) 2008 Yuval Kogman. All rights reserved
        This program is free software; you can redistribute
        it and/or modify it under the same terms as Perl itself.