A cipher is an encrypted message that is encoded using a key. In this code we use a message to encode it in such a way that no one can decode it without the key. This same encoding program can be used to decode the message by giving the negated key and encoded message as inputs. This gives a basic level implementation and the code can improved to give an advanced unbreakable encoding.