Let people who are curious know how os.urandom is implemented

This commit is contained in:
Alex Gaynor 2014-12-18 21:31:28 -08:00
parent c8c3331afd
commit 2d6bb0bd96

View file

@ -18,4 +18,7 @@ can obtain them with:
>>> import os
>>> iv = os.urandom(16)
This will use ``/dev/urandom`` on UNIX platforms, and ``CryptGenRandom`` on
Windows.
.. _`always use your operating system's provided random number generator`: http://sockpuppet.org/blog/2014/02/25/safely-generate-random-numbers/