<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Atbash - Page 7 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Atbash&amp;p=6">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Atbash&amp;p=8">3.Next</a>
</p>

<p>Under the standard affine convention, an alphabet of m letters is mapped to the numbers 0, 1, ... , ''m'' - 1. (The Hebrew alphabet has 1=''m'' = 22, and the standard Latin alphabet has 1=''m'' = 26). The Atbash cipher may then be enciphered and deciphered using the encryption function for an affine cipher by setting 1=''a'' = ''b'' = (''m'' - 1):</p>

<p>
: </p>

<p>This may be simplified to<br/>
:</p>

<p>If, instead, the m letters of the alphabet are mapped to 1, 2, ..., ''m'', then the encryption and decryption function for the Atbash cipher</p><p>
<a accesskey="1" href="page.php?w=Atbash&amp;p=6">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Atbash&amp;p=8">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
