Kryptos
This project was named after the famous sculpture containing unencrypted texts located outside the CIA HQ at Langley. This is a C program that utilizes dynamic memory allocation and sorting for string manipulation to encrypt or decrypt user entered text in 10 of the most famous ciphers used throughout human history.
Running the program
- Install any IDE with a suitable C compiler.
- Create a new project, copy the
Source.c
code and paste it in a.c
file. - Remove the first line:
#define _CRT_SECURE_NO_WARNINGS
from the code - Run the program.
Note: Only users running this program on Visual Studio on the MSVC compiler must ignore step 3 above.
OR
For OS X and Linux:
- Download the
Source.c
file and remove the first line:#define _CRT_SECURE_NO_WARNINGS
from the code. - Then, open the folder containing the
Source.c
file in the terminal. - Type
clang Source.c -o Source
and press enter in the terminal. (If compiler is gcc, then replace clang with gcc) - Finally, type
./Source
and press enter to run the executable.
List of ciphers available
Click to read more about these ciphers!
Contributing
Pull requests are welcome for adding more ciphers or fixing exisiting issues.