Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Crypt::Random::Source:UserkContributed PerCrypt::Random::Source::Weak::rand(3)

NAME
       Crypt::Random::Source::Weak::rand - Use "rand" to create	random bytes

VERSION
       version 0.12

SYNOPSIS
	   use Crypt::Random::Source::Weak::rand;

	   my $p = Crypt::Random::Source::Weak::rand->new;

	   $p->get(1024);

DESCRIPTION
       This is a weak source of	random data, that uses Perl's builtin "rand"
       function.

METHODS
   seed	@blah
       Sets the	random seed to a checksum of the stringified values of @blah.

       There is	no need	to call	this method unless you want the	random
       sequence	to be identical	to a previously	run, in	which case you should
       seed with the same value.

   get $n
       Produces	$n random bytes.

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 x<section>xx'xx (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.

perl v5.24.1			  2016-03-Crypt::Random::Source::Weak::rand(3)

NAME | VERSION | SYNOPSIS | DESCRIPTION | METHODS | SUPPORT | AUTHOR | COPYRIGHT AND LICENCE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Crypt::Random::Source::Weak::rand&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help