def encipher(self,string,keep_punct=False):
if not keep_punct: string = self.remove_punctuation(string)<EOL>ret = '<STR_LIT>'<EOL>for c in string.upper():<EOL><INDENT>if c.isalpha(): ret += self.key[self.a2i(c)]<EOL>else: ret += c<EOL><DEDENT>return ret<EOL>
Encipher string using Atbash cipher.

        Example::

            ciphertext = Atbash().encipher(plaintext)     

        :param string: The string to encipher.
        :param keep_punct: if true, punctuation and spacing are retained. If false, it is all removed. Default is False. 
        :returns: The enciphered string.