Sophie

Sophie

distrib > Mageia > 6 > armv7hl > by-pkgid > be48589b7b9611719bcc10d42dba172d > files > 75

python-OpenSSL-doc-16.1.0-1.mga6.noarch.rpm



<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
  <meta charset="utf-8">
  
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  
  <title>rand — An interface to the OpenSSL pseudo random number generator &mdash; pyOpenSSL 16.1.0 documentation</title>
  

  
  

  

  
  
    

  

  
  
    <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
  

  

  
        <link rel="index" title="Index"
              href="../genindex.html"/>
        <link rel="search" title="Search" href="../search.html"/>
    <link rel="top" title="pyOpenSSL 16.1.0 documentation" href="../index.html"/>
        <link rel="up" title="OpenSSL — Python interface to OpenSSL" href="../api.html"/>
        <link rel="next" title="SSL — An interface to the SSL-specific parts of OpenSSL" href="ssl.html"/>
        <link rel="prev" title="crypto — Generic cryptographic module" href="crypto.html"/> 

  
  <script src="../_static/js/modernizr.min.js"></script>

</head>

<body class="wy-body-for-nav" role="document">

  <div class="wy-grid-for-nav">

    
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search">
          

          
            <a href="../index.html" class="icon icon-home"> pyOpenSSL
          

          
          </a>

          
            
            
              <div class="version">
                16.1.0
              </div>
            
          

          
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
    <input type="text" name="q" placeholder="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>

          
        </div>

        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
          
            
            
                <ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../introduction.html">Introduction</a></li>
<li class="toctree-l1"><a class="reference internal" href="../install.html">Installation</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../api.html"><code class="docutils literal"><span class="pre">OpenSSL</span></code> &#8212; Python interface to OpenSSL</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="crypto.html"><code class="docutils literal"><span class="pre">crypto</span></code> &#8212; Generic cryptographic module</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="#"><code class="docutils literal"><span class="pre">rand</span></code> &#8212; An interface to the OpenSSL pseudo random number generator</a></li>
<li class="toctree-l2"><a class="reference internal" href="ssl.html"><code class="docutils literal"><span class="pre">SSL</span></code> &#8212; An interface to the SSL-specific parts of OpenSSL</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../internals.html">Internals</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../backward-compatibility.html">Backward Compatibility</a></li>
<li class="toctree-l1"><a class="reference internal" href="../changelog.html">Changelog</a></li>
</ul>

            
          
        </div>
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">

      
      <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
        <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
        <a href="../index.html">pyOpenSSL</a>
      </nav>


      
      <div class="wy-nav-content">
        <div class="rst-content">
          

 



<div role="navigation" aria-label="breadcrumbs navigation">
  <ul class="wy-breadcrumbs">
    <li><a href="../index.html">Docs</a> &raquo;</li>
      
          <li><a href="../api.html"><code class="docutils literal"><span class="pre">OpenSSL</span></code> &#8212; Python interface to OpenSSL</a> &raquo;</li>
      
    <li><code class="docutils literal"><span class="pre">rand</span></code> &#8212; An interface to the OpenSSL pseudo random number generator</li>
      <li class="wy-breadcrumbs-aside">
        
          
            <a href="../_sources/api/rand.txt" rel="nofollow"> View page source</a>
          
        
      </li>
  </ul>
  <hr/>
</div>
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
            
  <div class="section" id="rand-an-interface-to-the-openssl-pseudo-random-number-generator">
<span id="openssl-rand"></span><h1><code class="xref py py-mod docutils literal"><span class="pre">rand</span></code> &#8212; An interface to the OpenSSL pseudo random number generator<a class="headerlink" href="#rand-an-interface-to-the-openssl-pseudo-random-number-generator" title="Permalink to this headline">¶</a></h1>
<div class="admonition warning">
<p class="first admonition-title">Warning</p>
<p class="last">Functions from this module shouldn&#8217;t be used.
<a class="reference external" href="http://sockpuppet.org/blog/2014/02/25/safely-generate-random-numbers/">Use urandom</a> instead.</p>
</div>
<span class="target" id="module-OpenSSL.rand"></span><p>This module handles the OpenSSL pseudo random number generator (PRNG) and declares the following:</p>
<dl class="function">
<dt id="OpenSSL.rand.screen">
<code class="descclassname">OpenSSL.rand.</code><code class="descname">screen</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OpenSSL.rand.screen" title="Permalink to this definition">¶</a></dt>
<dd><p>Add the current contents of the screen to the PRNG state.</p>
<p>Availability: Windows.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body"><code class="xref py py-obj docutils literal"><span class="pre">None</span></code></td>
</tr>
</tbody>
</table>
</dd></dl>

</div>


           </div>
          </div>
          <footer>
  
    <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
      
        <a href="ssl.html" class="btn btn-neutral float-right" title="SSL — An interface to the SSL-specific parts of OpenSSL" accesskey="n">Next <span class="fa fa-arrow-circle-right"></span></a>
      
      
        <a href="crypto.html" class="btn btn-neutral" title="crypto — Generic cryptographic module" accesskey="p"><span class="fa fa-arrow-circle-left"></span> Previous</a>
      
    </div>
  

  <hr/>

  <div role="contentinfo">
    <p>
        &copy; Copyright 2001-2017, The pyOpenSSL developers.

    </p>
  </div>
  Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>. 

</footer>

        </div>
      </div>

    </section>

  </div>
  


  

    <script type="text/javascript">
        var DOCUMENTATION_OPTIONS = {
            URL_ROOT:'../',
            VERSION:'16.1.0',
            COLLAPSE_INDEX:false,
            FILE_SUFFIX:'.html',
            HAS_SOURCE:  true
        };
    </script>
      <script type="text/javascript" src="../_static/jquery.js"></script>
      <script type="text/javascript" src="../_static/underscore.js"></script>
      <script type="text/javascript" src="../_static/doctools.js"></script>

  

  
  
    <script type="text/javascript" src="../_static/js/theme.js"></script>
  

  
  
  <script type="text/javascript">
      jQuery(function () {
          SphinxRtdTheme.StickyNav.enable();
      });
  </script>
   

</body>
</html>