Cryptography Tutorial Try it Now! Algorithm Analysis Future Extensions Source Code Sources
This page provides ALL project source code. If you use my code, please reference me and any work that I have referenced. Thank you.

Source code for the Graphical User Interface (Try it now! program). CrackCode.pl is a Perl program that provides an interface between the user and the C++ program that performs all encryption and decryption functionality. To use this program, you will need the compiled version of CrackCode.cpp, named CrackCode.cgi. I would also recommed using the same convenient text editor I used, , make sure to adjust the programming language to Perl.

Download the GUI CrackCode.pl

Executable code for all encryption and decryption functionality. CrackCode.cgi is the compiled version of the C++ program CrackCode.cpp. It can be run from the command line, without use of the GUI, provided the user knows the commands to issue. These commands are documented at the beginnning of the CrackCode.cpp program. THIS IS THE FINAL ENCRYPTION PROJECT, FULLY DOCUMENTED.

Download the executable CrackCode.cgi

Download the C++ program CrackCode.cpp

The following programs are the encryption and decryption functions that were incorporated into the final version directly above. They were used as building blocks in the development process. These are stand alone versions of the functions. The programs can be run as a regular C++ program, with no command line arguments required. They provide for separate testing. However, these are programs are NOT the final versions of my work. Therefore, documentation, functionalization, code clarity/efficiency, etc. are NOT guaranteed. Changes may have been made between these versions and the final version. The master program above is intended for further development.

Download the program for conversion from encrypted message <=> decrypted message

Download Plug It In!

Download Shift and Count

Download Kasiski Test

Download Friedman Test

Download Basic Frequency Analysis

Download Permute through All Shifts

Download Relative Shifts between Key Letters