Eclipse Luna Project, programmed in java 1.8. Second Year College project - Grade: 97%.
This is my take on the German WW1 ADFGVX Cypher. Instead it is the "ADFGVXET Cypher". Two extra letters where added to include spaces and other special characters.
*** My testing ***
Encrypting War And Peace by Leo Tolstoy takes about 0.3 seconds.
Decrypting War And Peace by Leo Tolstoy takes about 0.6 seconds. (Sometimes Decrypting takes 1 second, other times it takes 0.4 seconds).
Used the keyword "helloworld".
Program starts taking longer if smaller keywords are used.
How To Use.
To Encrypt a text file, make sure to place it in the same directory as the "src" directory. Run the program and type 1, as instructed, to encrypt your file. Enter a keyword for the encryption. Then, enter the name of your text file you wish to encrypt, including the .txt Eg "myfile.txt". Your encrypted text will be saved to a text file called "Encrypted.txt".
To Decrypt a text file, make sure the file is in the same directory as the "src" directory. Run the program and type 2, as instructed, to decrypted your file. Enter the keyword you used to encrypt the file. Then, type the name of the text file you wish to decrypt, including the .txt Eg "Encrypted.txt" Your decrypted text will be saved to a text file called "Decrypted.txt".