So I am asked to create this program to decrypt and encrypt a word using the solitaire algorithm. The encrypt and decrypt class takes two argument, one which is the prog1.data and the second one is message.txt. I am though confused with this statement:
Note that if the message file has multiple message to encrypt/decrypt, all but the first will be decrypted using the deck as it exists after the decryption of the preceding message.
So this means that if in my message.txt the file contains:
Dr. McCann is insane!
YXOVRSZKFXJUGGAFXNJR
The first line is the line that I have to encrypt and the second line is the line that I have to decrypt. And suppose that there is a third line and so on, the one that will decrypt is the second line till the end of the line?? Is this right?? How is the third line possible to form?
If you are curious my full assignment is located at :
http://www.cs.arizona.edu/classes/cs345/spring08/prog1.pdfthanks for all the help
This post has been edited by EquinoX: 28 Jan, 2008 - 10:28 AM