mirror of
https://github.com/python/cpython.git
synced 2024-11-27 20:04:41 +08:00
Merge heads
This commit is contained in:
commit
0fa23e4a36
@ -292,6 +292,8 @@ Random generation
|
||||
can be used to check the status of the PRNG and :func:`RAND_add` can be used
|
||||
to seed the PRNG.
|
||||
|
||||
For almost all applications :func:`os.urandom` is preferable.
|
||||
|
||||
Read the Wikipedia article, `Cryptographically secure pseudorandom number
|
||||
generator (CSPRNG)
|
||||
<http://en.wikipedia.org/wiki/Cryptographically_secure_pseudorandom_number_generator>`_,
|
||||
@ -311,6 +313,8 @@ Random generation
|
||||
for non-cryptographic purposes and for certain purposes in cryptographic
|
||||
protocols, but usually not for key generation etc.
|
||||
|
||||
For almost all applications :func:`os.urandom` is preferable.
|
||||
|
||||
.. versionadded:: 3.3
|
||||
|
||||
.. function:: RAND_status()
|
||||
|
Loading…
Reference in New Issue
Block a user