diff options
author | Raymond Hettinger <python@rcn.com> | 2014-05-11 09:26:23 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2014-05-11 09:26:23 (GMT) |
commit | c89a451ae13339d803cad639f2c61af2c67f5fc2 (patch) | |
tree | 9b5b4bd42ed455e804b2d61e67429823837d64db /Doc | |
parent | 277842eff12eba1ceeeba1cee93db3ec99d5c95a (diff) | |
download | cpython-c89a451ae13339d803cad639f2c61af2c67f5fc2.zip cpython-c89a451ae13339d803cad639f2c61af2c67f5fc2.tar.gz cpython-c89a451ae13339d803cad639f2c61af2c67f5fc2.tar.bz2 |
By popular demand, add back a security warning.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/random.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/random.rst b/Doc/library/random.rst index ff9d2ae..f8b7727 100644 --- a/Doc/library/random.rst +++ b/Doc/library/random.rst @@ -43,6 +43,11 @@ The :mod:`random` module also provides the :class:`SystemRandom` class which uses the system function :func:`os.urandom` to generate random numbers from sources provided by the operating system. +.. warning:: + + The pseudo-random generators of this module should not be used for + security purposes. + Bookkeeping functions: |