summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/random.3
diff options
context:
space:
mode:
authorDavid Schultz <das@FreeBSD.org>2003-07-31 06:18:34 +0000
committerDavid Schultz <das@FreeBSD.org>2003-07-31 06:18:34 +0000
commite02cc8e4199b8570967ffac2647c98b9cd1f9640 (patch)
treeb913e98d65001088871c77649b87458c73506484 /lib/libc/stdlib/random.3
parent05e1bf34619e500682f21adab15232744d939ff5 (diff)
Notes
Diffstat (limited to 'lib/libc/stdlib/random.3')
-rw-r--r--lib/libc/stdlib/random.34
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/stdlib/random.3 b/lib/libc/stdlib/random.3
index 28616ae048b9..66ccd55f99f0 100644
--- a/lib/libc/stdlib/random.3
+++ b/lib/libc/stdlib/random.3
@@ -174,6 +174,7 @@ is called with less than 8 bytes of state information, or if
detects that the state information has been garbled, error
messages are printed on the standard error output.
.Sh SEE ALSO
+.Xr arc4random 3 ,
.Xr rand 3 ,
.Xr srand 3 ,
.Xr random 4
@@ -189,3 +190,6 @@ The historical implementation used to have a very weak seeding; the
random sequence did not vary much with the seed.
The current implementation employs a better pseudo-random number
generator for the initial state calculation.
+.Pp
+Applications requiring cryptographic quality randomness should use
+.Xr arc4random 3 .