Crypt::Random::Source::Weak::rand

Use rand to create random bytes.
Download

Crypt::Random::Source::Weak::rand Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Yuval Kogman
  • Publisher web site:
  • http://search.cpan.org/~nobull/

Crypt::Random::Source::Weak::rand Tags


Crypt::Random::Source::Weak::rand Description

Use rand to create random bytes. Crypt::Random::Source::Weak::rand is a Perl module that allows you to use rand to create random bytes.SYNOPSIS use Crypt::Random::Source::Weak::rand; my $p = Crypt::Random::Source::Weak::rand->new; $p->get(1024);This is a weak source of random data, that uses Perl's builtin rand function.METHODSseed @blahSets 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 $nProduces $n random bytes. Requirements: · Perl


Crypt::Random::Source::Weak::rand Related Software