autodoc.git / modref / ex / predef_3A_3A / Crypto / RSA / LowState / generate_key.html

version» Context lines:

autodoc.git/modref/ex/predef_3A_3A/Crypto/RSA/LowState/generate_key.html:63:    <div class="contentbox">    <article>    <h1>Method Crypto.RSA.LowState()-&gt;generate_key()</h1>         <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Method</span>   <span class='homogen--name'><b>generate_key</b></span>   </dt> - <dd><p><code><code class='object resolved'><a class='ms reference' href='../../../../predef_3A_3A/Crypto/RSA/LowState.html'>this_program</a></code> <b><span class='method'>generate_key</span>(</b><code class='datatype'>int(128..)</code> <code class='argument'>bits</code>, <code class='datatype'>void</code>|<code class='datatype'>int</code>|<code class='object resolved'><a class='ms reference' href='../../../../predef_3A_3A/Gmp/mpz.html'>Gmp.mpz</a></code> <code class='argument'>e</code><b>)</b></code></p></dd> + <dd><p><code><code class='object resolved'><a class='ms reference' href='../../../../predef_3A_3A/Crypto/RSA/LowState.html'>this_program</a></code> <b><span class='method'>generate_key</span>(</b><code class='datatype'>int(128..)</code> <code class='argument'>bits</code>, <code class='datatype'>int(1..)</code>|<code class='object resolved'><a class='ms reference' href='../../../../predef_3A_3A/Gmp/mpz.html'>Gmp.mpz</a></code>|<code class='datatype'>void</code> <code class='argument'>e</code><b>)</b></code></p></dd>      <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>Generate a valid RSA key pair with the size <code class='reference paramref'>bits</code> using the    random function set with <a class='ms reference' href='../../../../predef_3A_3A/Crypto/RSA/LowState/set_random.html'>set_random()</a>. The public exponent <code class='reference paramref'>e</code>    will be used, which defaults to 65537. Keys must be at least 89    bits.</p>   </dd></dl>       </article>    </div>