Skip to content

Commit

Permalink
Simplify the recommended alternatives to rand()
Browse files Browse the repository at this point in the history
The CPAN Security Group (CPANSec) is currently working on guides to
generating security-quality random data.  We are focusing on modules
that have secure defaults and are fairly lightweight.

We would like to change the recommended modules to ones that we think
are better options.

Crypt::URandom is pure-perl, has fewer prerequisites than Crypt::Random,
and works with Windows.

Crypt::PRNG has secure defaults and methods for generating different
kinds of random data.
  • Loading branch information
robrwo committed Dec 23, 2024
1 parent a919938 commit 5c8d131
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions pod/perlfunc.pod
Original file line number Diff line number Diff line change
Expand Up @@ -6669,13 +6669,9 @@ including:

=over

=item * L<Data::Entropy>
=item * L<Crypt::URandom>

=item * L<Crypt::Random>

=item * L<Math::Random::Secure>

=item * L<Math::TrulyRandom>
=item * L<Crypt::PRNG>

=back

Expand Down

0 comments on commit 5c8d131

Please sign in to comment.