Bytes-Random-Secure

 view release on metacpan or  search on metacpan

lib/Bytes/Random/Secure.pm  view on Meta::CPAN


    my $random_base64 = $random->bytes_base64( 32, EOL => "\n" );

Identical in function to C<random_bytes_base64>.


=head2 bytes_qp

    my $random_qp = $random->bytes_qp( 80 );

You guessed it: Identical in function to C<random_bytes_qp>.


=head2 irand

    my $unsigned_long = $random->irand;

Returns a random 32-bit unsigned integer.  The value will satisfy
C<< 0 <= x <= 2**32-1 >>.  This functionality is only available through the OO
interface.



( run in 3.500 seconds using v1.01-cache-2.11-cpan-748bfb374f4 )