Query: crypt::random::source::weak::rand
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Crypt::Random::Source::Weak::rand(3pm) User Contributed Perl Documentation Crypt::Random::Source::Weak::rand(3pm)NAMECrypt::Random::Source::Weak::rand - Use "rand" to create random bytesSYNOPSISuse Crypt::Random::Source::Weak::rand; my $p = Crypt::Random::Source::Weak::rand->new; $p->get(1024);DESCRIPTIONThis is a weak source of random data, that uses Perl's builtin "rand" function.METHODSseed @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.AUTHORYuval Kogman <nothingmuch@woobling.org>COPYRIGHT AND LICENSEThis software is copyright (c) 2011 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.14.2 2011-01-05 Crypt::Random::Source::Weak::rand(3pm)
Similar Topics in the Unix Linux Community |
---|
Installing Dash Shell on OS X Lion |
How can I do this in VI editor? |
Introduction |
Weird 'find' results |
My first PERL incarnation... Audio Oscillograph |