sranddev() is not magic pixie dust. While it gives a good random
seed, the random number generator rand(3) still sucks and is unlikely sufficient for crypto use. Correct what appears to be a cut and paste error from the srandomdev() man page. Submitted by: Ben Mesander
This commit is contained in:
parent
feba3ea981
commit
eae3ce693c
@ -91,8 +91,10 @@ The
|
||||
.Fn sranddev
|
||||
function initializes a seed using the
|
||||
.Xr random 4
|
||||
random number device which returns good random numbers,
|
||||
suitable for cryptographic use.
|
||||
random number device which returns good random numbers.
|
||||
However, the
|
||||
.Fn rand
|
||||
function still remains unsuitable for cryptographic use.
|
||||
.Pp
|
||||
The
|
||||
.Fn rand_r
|
||||
|
Loading…
x
Reference in New Issue
Block a user