diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2017-07-06 22:40:07 -0400 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2017-07-06 21:40:07 -0500 |
commit | 8a1de8d6cb5656f335b49fa9f4159f82f51e374a (patch) | |
tree | 78146e50edebcd3bd11da380322006c0e11b3e0c /doc | |
parent | a421276a6887bc905f4c3ae964844d418216c946 (diff) | |
download | pyopenssl-git-8a1de8d6cb5656f335b49fa9f4159f82f51e374a.tar.gz |
Fixed #631 -- deprecate all of OpenSSL.rand (#658)
* Fixed #631 -- deprecate all of OpenSSL.rand
* syntax fix
* flake8
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api.rst | 1 | ||||
-rw-r--r-- | doc/api/rand.rst | 41 |
2 files changed, 0 insertions, 42 deletions
diff --git a/doc/api.rst b/doc/api.rst index 826ec4d..b5ca3f2 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -14,5 +14,4 @@ OpenSSL library. The following modules are defined: :maxdepth: 2 api/crypto - api/rand api/ssl diff --git a/doc/api/rand.rst b/doc/api/rand.rst deleted file mode 100644 index 47460a8..0000000 --- a/doc/api/rand.rst +++ /dev/null @@ -1,41 +0,0 @@ -.. _openssl-rand: - -:mod:`rand` --- An interface to the OpenSSL pseudo random number generator -========================================================================== - -.. warning:: - Functions from this module shouldn't be used. - `Use urandom <https://sockpuppet.org/blog/2014/02/25/safely-generate-random-numbers/>`_ instead. - - -.. py:module:: OpenSSL.rand - :synopsis: An interface to the OpenSSL pseudo random number generator - - -This module handles the OpenSSL pseudo random number generator (PRNG) and declares the following: - -.. autofunction:: add - -.. autofunction:: bytes - -.. autofunction:: cleanup - -.. autofunction:: load_file(filename[, bytes]) - -.. autofunction:: seed - -.. autofunction:: status - -.. autofunction:: write_file - - -.. function:: screen - - Add the current contents of the screen to the PRNG state. - - Availability: Windows. - - :return: :obj:`None` - - -.. autoexception:: Error |