The purpose of my program is to encrypt and decrypt messages. You input a message you would like to encrypt, it then spits out some encrypted text. You then put the encrypted text into the decryption box, press decrypt and then you have a message. You first put your e and n values into the given place. Then you write a message in the message box below and then you press encrypt. You then put your encrypted message into the right side box and then you put your d and n values in and then you can decrypt that message.

The procedure takes the e and n values. You then write out your message and then your message becomes encrypted. This is achieved by running the encrypt function with the values. The message is then displayed in a textbox. The encryption function is a necessary part of my program. You need to write a function that takes two values e and n and you should be able to input those values into an entry box and the function should be called when you press the encrypt button. The encryption function grabs a message put in by the user and then numerizes it by using the two values. The numerized message is then characterized and spit out into an entry box. You can then decrypt this message.