title: Custom Python Encryption algorithm
body: <p>Hey, I have been working on this for a while, and I can remebr my brother stepped me through this very same alogorithm.</p>
  
  <p>Basicly, it just adds the ascii values of both the characters from the key, and the phrase.</p>
  
  <p>I can encrypt it with this:</p>
  
  <pre><code>def encrypt(key, string):
      encoded = ''
      for i in range(len(string)):
          key_c = ord(key[i % len(key)])
          string_c = ord(string[i % len(string)])
          encoded += chr((key_c + string_c) % 127)
      return encoded
  </code></pre>
  
  <p>But I can't seem to remember what we did as far as decrypting. Its difficult to revers a mod :P
  Any ideas?</p>