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:
cperciva 2015-02-25 07:49:15 +00:00
parent 1f9840a9ac
commit 7f661e0eb8

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