summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2003-07-31 06:18:34 +0000
committerdas <das@FreeBSD.org>2003-07-31 06:18:34 +0000
commit4a73cae22c553cc8cc1ef4ab6d33103e27e0f1a2 (patch)
treeb913e98d65001088871c77649b87458c73506484 /lib
parent06982489ad3a235e68ac5ffb02b4e64c73a717c5 (diff)
downloadFreeBSD-src-4a73cae22c553cc8cc1ef4ab6d33103e27e0f1a2.zip
FreeBSD-src-4a73cae22c553cc8cc1ef4ab6d33103e27e0f1a2.tar.gz
Cross-reference arc4random(3).
Diffstat (limited to 'lib')
-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 28616ae..66ccd55 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 .
OpenPOWER on IntegriCloud