autodoc.git / modref / ex / predef_3A_3A / Crypto / Substitution / set_rot_key.html

version» Context lines:

autodoc.git/modref/ex/predef_3A_3A/Crypto/Substitution/set_rot_key.html:62:    <div class="contentbox">    <article>    <h1>Method Crypto.Substitution()-&gt;set_rot_key()</h1>         <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Method</span>   <span class='homogen--name'><b>set_rot_key</b></span>   </dt> - <dd><p><code><code class='object resolved'><a class='ms reference' href='../../../predef_3A_3A/Crypto/Substitution.html'>this_program</a></code> <b><span class='method'>set_rot_key</span>(</b><code class='datatype'>void</code>|<code class='datatype'>int</code> <code class='argument'>steps</code>, <code class='datatype'>void</code>|<code class='datatype'>array</code>(<code class='datatype'>string</code>) <code class='argument'>alphabet</code><b>)</b></code></p></dd> + <dd><p><code><code class='object resolved'><a class='ms reference' href='../../../predef_3A_3A/Crypto/Substitution.html'>this_program</a></code> <b><span class='method'>set_rot_key</span>(</b><code class='datatype'>int(1..)</code>|<code class='datatype'>void</code> <code class='argument'>steps</code>, <code class='datatype'>void</code>|<code class='datatype'>array</code>(<code class='datatype'>string</code>) <code class='argument'>alphabet</code><b>)</b></code></p></dd>      <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>Sets the key to a ROT substitution system. <code class='reference paramref'>steps</code> defaults    to 13 and <code class='reference paramref'>alphabet</code> defaults to A-Z, i.e. this function    defaults to set the substitution crypto to be ROT13. If no    alphabet is given the key will be case insensitive, e.g. the    key will really be two ROT13 alphabets, one a-z and one A-Z,    used simultaneously.</p>   </dd></dl>