This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update the documentation for rand() to note that it's not
authorJesse Vincent <jesse@bestpractical.com>
Tue, 19 Apr 2011 13:53:07 +0000 (23:53 +1000)
committerJesse Vincent <jesse@bestpractical.com>
Tue, 19 Apr 2011 14:39:08 +0000 (00:39 +1000)
commit9700c45b7e3bd512c56a8c3607f53e73245de6db
treed336cd81be30566931b59cf4b5c42b6a049fa6b9
parentf3fd521e97e17e487d338c4534dfc6b72ddb4e06
Update the documentation for rand() to note that it's not
cryptographically secure due to concerns that end-users are unaware of
this and use it in situations where security depends on the strength of
the randomness generated.

I'd have been happier getting this patch in earlier in the cycle.
We'd hoped to replace the RNG, but that didn't happen in time, so this
doc update is the "better, still not good" fallback.
pod/perlfunc.pod