We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29c3fc5 commit ba69008Copy full SHA for ba69008
1 file changed
Doc/library/random.rst
@@ -45,9 +45,9 @@ from sources provided by the operating system.
45
46
.. warning::
47
48
- The generators of the :mod:`random` module should not be used for security
49
- purposes. Use :func:`ssl.RAND_bytes` if you require a cryptographically
50
- secure pseudorandom number generator.
+ The pseudo-random generators of this module should not be used for
+ security purposes. Use :func:`os.urandom` or :class:`SystemRandom` if
+ you require a cryptographically secure pseudo-random number generator.
51
52
53
Bookkeeping functions:
0 commit comments