36ee1e2015-10-12Pontus Östlund <!doctype html>
5a6e092011-12-03Henrik Grubbström (Grubba) <html> <head>
36ee1e2015-10-12Pontus Östlund  <meta content="width=device-width, initial-scale=1" name="viewport">
7e5ead2016-01-20Pontus Östlund  <meta charset="utf-8">
c0c2c82016-11-14Pontus Östlund  <title>Crypto.Substitution()-&gt;set_ACA_K4_key() - Pike Reference Manual</title>
0780872016-10-04Pontus Östlund  <!-- 221-->
36ee1e2015-10-12Pontus Östlund  <link rel='stylesheet' href='../../../../style.css'> <script src='../../../../site.js'></script>
0780872016-10-04Pontus Östlund  <script src='../../../../constants.js'></script> <script>PikeDoc.NO_DYNAMIC = true;</script>
0851b02012-03-11Tobias S. Josefowitz  <style type='text/css'>
03490b2002-12-31Martin Nilsson svg line { stroke:#343434; stroke-width:2; } svg text { fill:#343434; } svg a { fill:#0768b2; text-decoration: underline; } </style>
5a6e092011-12-03Henrik Grubbström (Grubba)  </head>
36ee1e2015-10-12Pontus Östlund  <body>
5a6e092011-12-03Henrik Grubbström (Grubba)  <header>
36ee1e2015-10-12Pontus Östlund  <div class="header">
0e3f092016-04-19Henrik Grubbström (Grubba)  <div id="version"><strong data-id="version"></strong></div>
ed0b3d2016-12-10Martin Nilsson  <button id="burger"> <span class="bar"></span> <span class="bar"></span> <span class="bar"></span> <span class="bar"></span> </button><!-- Hamburger icon -->
7e5ead2016-01-20Pontus Östlund  <h1>
0e3f092016-04-19Henrik Grubbström (Grubba)  <a href="http://pike.lysator.liu.se/" class="logo">
7e5ead2016-01-20Pontus Östlund  <span>Pike programming language</span> </a> </h1>
5878682012-02-05Henrik Grubbström (Grubba)  </div>
5a6e092011-12-03Henrik Grubbström (Grubba)  </header>
36ee1e2015-10-12Pontus Östlund  <div id="page">
5878682012-02-05Henrik Grubbström (Grubba)  <div class="navbar">
36ee1e2015-10-12Pontus Östlund  <nav>
7e5ead2016-01-20Pontus Östlund  <div class="inner" id="navbar">
36ee1e2015-10-12Pontus Östlund  <a href='../../../../index.html'><b class='top head'>Top</b></a>
03490b2002-12-31Martin Nilsson <a href='../../../../ex/predef_3A_3A/Crypto.html'><b class='head'>Crypto</b></a>
bad7972004-02-14Martin Nilsson <a href='../../../../ex/predef_3A_3A/Crypto/Substitution.html'><b class='head'>Crypto.Substitution</b></a>
03490b2002-12-31Martin Nilsson <script></script> <noscript> <div class='sidebar'>
bad7972004-02-14Martin Nilsson <a href='../../../../ex/predef_3A_3A/Crypto/Substitution/index.html'><b>Symbol index</b></a><br />
03490b2002-12-31Martin Nilsson </div> </noscript>
36ee1e2015-10-12Pontus Östlund  </div> </nav>
5878682012-02-05Henrik Grubbström (Grubba)  </div>
36ee1e2015-10-12Pontus Östlund  <div class="content"> <div class="navbox"> <nav> <div class="sidebar"> <a href="../../../../ex/predef_3A_3A/Crypto/Substitution/set_ACA_K3_key.html" class="prev"><span>&#10148;</span> Crypto.Substitution()-&gt;set_ACA_K3_key()</a> <a href="../../../../ex/predef_3A_3A/Crypto/Substitution/set_key.html" class="next">Crypto.Substitution()-&gt;set_key() <span>&#10148;</span></a> </div> </nav> </div> <div class="contentbox"> <article> <h1>Method Crypto.Substitution()-&gt;set_ACA_K4_key()</h1>
03490b2002-12-31Martin Nilsson  <hr /> <dl class='group--doc'> <dt class='head--type'><span class='homogen--type'>Method</span> <span class='homogen--name'><b>set_ACA_K4_key</b></span> </dt>
e6ea1a2022-11-05Martin Nilsson <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_K4_key</span>(</b><code class='datatype'>string</code> <code class='argument'>key1</code>, <code class='datatype'>string</code> <code class='argument'>key2</code>, <code class='datatype'>void</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>
03490b2002-12-31Martin Nilsson  <dt class='head--doc'>Description</dt> <dd class='body--doc'><p>Sets the key according to ACA K4 key generation. Both the plaintext
81c07f2003-03-19Martin Nilsson  and the cryptogram alphabets are prepended with the keywords <code class='reference paramref'>key1</code> and <code class='reference paramref'>key2</code>. The plaintext alphabet is then rotated <code class='reference paramref'>offset</code> number
03490b2002-12-31Martin Nilsson  of steps.</p> </dd></dl>
36ee1e2015-10-12Pontus Östlund  </article> </div>
5878682012-02-05Henrik Grubbström (Grubba)  </div> </div>
36ee1e2015-10-12Pontus Östlund  <footer>
0780872016-10-04Pontus Östlund  <div id="build-date">Extracted from <strong data-id="version"></strong> as of <strong data-id="date" data-timestamp=""></strong>.</div>
36ee1e2015-10-12Pontus Östlund  </footer>
7e5ead2016-01-20Pontus Östlund  <script>PikeDoc.current = {"link":"ex/predef_3A_3A/Crypto/Substitution/set_ACA_K4_key.html","name":"set_ACA_K4_key"};</script>
bad7972004-02-14Martin Nilsson <script src='../../../../ex/predef_3A_3A/Crypto/Substitution/index.js'></script> <script src='../../../../ex/predef_3A_3A/Crypto/Substitution/load_index.js'></script>
7e5ead2016-01-20Pontus Östlund  <script> // Tell PikeDoc that next actions are from loaded scripts PikeDoc.isInline = false; </script> </body>
b707562011-03-06Henrik Grubbström (Grubba) </html>