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

version» Context lines:

autodoc.git/modref/ex/predef_3A_3A/Crypto/Substitution/set_ACA_K3_key.html:62:    <div class="contentbox">    <article>    <h1>Method Crypto.Substitution()-&gt;set_ACA_K3_key()</h1>         <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Method</span>   <span class='homogen--name'><b>set_ACA_K3_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_ACA_K3_key</span>(</b><code class='datatype'>string</code> <code class='argument'>key</code>, <code class='datatype'>int</code> <code class='argument'>offset</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_ACA_K3_key</span>(</b><code class='datatype'>string</code> <code class='argument'>key</code>, <code class='datatype'>int</code> <code class='argument'>offset</code>, <code class='datatype'>array</code>(<code class='datatype'>string</code>)|<code class='datatype'>void</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 according to ACA K3 key generation. Both the plaintext    and the cryptogram alphabets are prepended with a keyword <code class='reference paramref'>key</code>,    which characters are removed from the rest of the alphabet. The    plaintext alphabet is then rotated <code class='reference paramref'>offset</code> number of steps.</p>   </dd></dl>       </article>    </div>