Caesar Cipher
The first major program which I created in C++ was the Caesar Cipher.
I made the Caesar Cipher to be capable of automatically deciphering scrambled text that is input to it, given that the text has been scrambled by rotating all of the letters through the alphabet by a given number of rotations.
​
The Caesar Cipher will automatically tell how many rotations are required to decipher a body of text. It will even be able to tell if it is already unscrambled and does not need to be rotated.
​
It works by rotating the body of text by each possible rotation, and checking for which rotation best matches the internal dictionary. The dictionary can be updated with additional words for further functionality.
​
Once the Caesar Cipher knows the ideal number of rotations, it will output the unscrambled version, effectively deciphering the text for the user.
​
​