add a little info about the various system randoms. maybe useful?

This commit is contained in:
Paul Kehrer 2014-01-29 21:39:13 -06:00
parent 136ff17ace
commit 9967bc5c37

View file

@ -46,6 +46,18 @@ added to the engine list but **not activated** if you only import the binding.
If you wish to deactivate it call ``unregister_osrandom_engine()`` on the
backend object.
OS Random Sources
----------------------------
On OS X and FreeBSD ``/dev/urandom`` is an alias for ``/dev/random`` and
utilizes the `Yarrow`_ algorithm.
On Windows ``CryptGenRandom`` is backed by `Fortuna`_.
Linux uses its own PRNG design. ``/dev/urandom`` is a non-blocking source seeded
from the ``/dev/random`` pool.
.. _`OpenSSL`: https://www.openssl.org/
.. _`initializing the RNG`: http://en.wikipedia.org/wiki/OpenSSL#Vulnerability_in_the_Debian_implementation
.. _`Yarrow`: http://en.wikipedia.org/wiki/Yarrow_algorithm