GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CRYPT::RANDOM::SOURCE::BASE (3)

.ds Aq ’

NAME

Crypt::Random::Source::Base - Abstract base class for Crypt::Random::Source classes

CONTENTS

VERSION

version 0.11

SYNOPSIS



    use Moose;
    extends qw(Crypt::Random::Source::Base);



DESCRIPTION

This is an abstract base class.

In the future it will be a role.

METHODS

get CW$n, CW%args

Gets $n random bytes and returns them as a string.

This method may produce fatal errors if the source was unable to provide enough data.

read CW$buf, CW$n, [ CW$off ]

This method is cannibalized from IO::Scalar. It provides an IO::Handle work-alike.

Note that subclasses override this to operate on a real handle directly if available.

seed CW@stuff

On supporting sources this method will add @stuff, whatever it may be, to the random seed.

Some sources may not support this, so be careful.

    available

This is a class method, such that when it returns true calling new without arguments on the class should provide a working source of random data.

This is use by Crypt::Random::Source::Factory.

    rank

This is a class method, with some futz value for a ranking, to help known good sources be tried before known bad (slower, less available) sources.

get_data CW%Params

Provided for compatibility with Crypt::Random

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 XXXXX (Yuval Kogman) <nothingmuch@woobling.org>

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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 CRYPT::RANDOM::SOURCE::BASE (3) 2015-10-24

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.