diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2016-11-04 17:39:32 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2016-11-04 17:39:32 +0000 |
commit | 3f4e0f9de28ae68548b661fbd32066b7b4b8dbb8 (patch) | |
tree | ee0bce2f1437b9f32b004fd6b1d5fbbf15363207 /doc/librandom/index.html | |
parent | 7d51240251f8226089ab1618831fde50b5e9e641 (diff) | |
download | skalibs-3f4e0f9de28ae68548b661fbd32066b7b4b8dbb8.tar.gz skalibs-3f4e0f9de28ae68548b661fbd32066b7b4b8dbb8.tar.xz skalibs-3f4e0f9de28ae68548b661fbd32066b7b4b8dbb8.zip |
version: 2.4.0.1 v2.4.0.1
Diffstat (limited to 'doc/librandom/index.html')
-rw-r--r-- | doc/librandom/index.html | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/doc/librandom/index.html b/doc/librandom/index.html index 183086a..26669fa 100644 --- a/doc/librandom/index.html +++ b/doc/librandom/index.html @@ -22,20 +22,9 @@ <p> <tt>librandom</tt> is a small library designed to provide an interface to some reasonable-quality pseudorandom number -generation. Some libcs have a bad -<tt>random()</tt> implementation; <tt>librandom</tt> is designed -to use system pseudorandom number generation when it's provided -via <tt>/dev/random</tt> and <tt>/dev/urandom</tt>, and to use -a good default PRNG otherwise. -</p> - -<p> - <tt>librandom</tt> also supports -<a href="http://egd.sourceforge.net/">EGD</a>. If you have built -skalibs with <tt>--enable-egd</tt>, then the librandom -primitives will try and connect to an EGD service to get random bytes -if there is no kernel-based entropy generator such as <tt>/dev/random</tt>. -If the EGD connection fails, a SURF PRNG is used. +generation. <tt>librandom</tt> uses arc4random when available, +or getrandom - else it defaults to <tt>/dev/urandom</tt> and a +a SURF PRNG. </p> <h2> Compiling </h2> |