This program decodes a single line of Caesar cipher-encrypted text using a two-pronged approach; brute force and simple heuristics. The program produces 12 decryption results, then prints two lists. The first list contains all 12 decryption keys with their results. The second list contains the decryption results which contain keywords.
A Caesar cipher is a simple encryption technique named after Julius Caesar, who used the technique when communicating sensitive information. It uses a shift cipher to move a plaintext character a fixed amount of spaces apart in the alphabet. For example, a shift value of +3 would shift "abcd" to "defg". The downside to using a Caesar cipher is that it is relatively easy to decrypt.
In this screenshot, the original plaintext is displayed as key #0. Since key #9 contained the keywords "attack" and "easternfront", it is printed as a likely result. To decrypt a line of text, simply store it in a text file and enter the filename when prompted. The program then prompts for a filename to save the result to.