caesar cipher Simple Encryption code in python
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1538935/caesars-cipher-using-python-could-use-a-little-help">Caesar&#39;s Cipher using python, could use a little help</a>  </p>
</blockquote>



<pre><code>def affine (a, b):
    for i in range(26):
        print chr(i+65) + ": " + chr (((a*i+b)%26)+65)
</code></pre>

<p>This is something I have come across. How can I use this with a message "Hello world" and encrypt it?</p>

<p>And also how to Decrypt a message?</p>
