def encipher(self,string):
string = string.upper()<EOL>morsestr = self.enmorse(string)<EOL>if len(morsestr) % <NUM_LIT:3> == <NUM_LIT:1>:<EOL><INDENT>morsestr = morsestr[<NUM_LIT:0>:-<NUM_LIT:1>]<EOL><DEDENT>elif len(morsestr) % <NUM_LIT:3> == <NUM_LIT:2>:<EOL><INDENT>morsestr = morsestr + '<STR_LIT:x>'<EOL><DEDENT>mapping = dict(zip(self.table,self.key))<EOL>ctext = "<STR_LIT>"<EOL>for i in range(<NUM_LIT:0>,len(morsestr),<NUM_LIT:3>):<EOL><INDENT>ctext += mapping[morsestr[i:i+<NUM_LIT:3>]]<EOL><DEDENT>return ctext<EOL>
Encipher string using FracMorse cipher according to initialised key. 

        Example::

            ciphertext = FracMorse('ROUNDTABLECFGHIJKMPQSVWXYZ').encipher(plaintext)     

        :param string: The string to encipher.
        :returns: The enciphered string.