Adjust wording slightly to emphasize that random(3) should not be used for

any applications which need unpredictable random numbers, not merely those
which are cryptographic in nature.

If you work for a lottery and you're using random(3) to select the winning
numbers, please let me know.
This commit is contained in:
Colin Percival 2015-02-25 07:49:15 +00:00
parent e02196c57f
commit eb51316b50
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=279269

View file

@ -54,9 +54,8 @@
.Fn setstate "char *state"
.Sh DESCRIPTION
.Bf -symbolic
The functions described in this manual page are not cryptographically
secure.
Cryptographic applications should use
The functions described in this manual page are not secure.
Applications which require unpredictable random numbers should use
.Xr arc4random 3
instead.
.Ef