From c89a451ae13339d803cad639f2c61af2c67f5fc2 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Sun, 11 May 2014 02:26:23 -0700 Subject: By popular demand, add back a security warning. --- Doc/library/random.rst | 5 +++++ 1 file changed, 5 insertions(+) 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: -- cgit v0.12