Skip to content

Commit 5c8d131

Browse files
committed
Simplify the recommended alternatives to rand()
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.
1 parent a919938 commit 5c8d131

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

pod/perlfunc.pod

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6669,13 +6669,9 @@ including:
66696669

66706670
=over
66716671

6672-
=item * L<Data::Entropy>
6672+
=item * L<Crypt::URandom>
66736673

6674-
=item * L<Crypt::Random>
6675-
6676-
=item * L<Math::Random::Secure>
6677-
6678-
=item * L<Math::TrulyRandom>
6674+
=item * L<Crypt::PRNG>
66796675

66806676
=back
66816677

0 commit comments

Comments
 (0)