This project implements the Caesar Cipher, a simple encryption technique where each letter in the plaintext is shifted by a fixed number of positions in the alphabet.
✅ Encrypts text using the Caesar Cipher algorithm.
✅ Decrypts text by reversing the encryption process.
✅ Supports both uppercase and lowercase letters.
✅ Ignores non-alphabetic characters (they remain unchanged).
✅ Written in pure C for efficiency and simplicity.
| Main Menu | Test |
|---|---|
![]() |
![]() |
- The user enters the text to be encrypted.
- The user provides a shift key (an integer).
- The program applies the shift to encrypt the text.
- The program then decrypts the text back to its original form.
To get started, clone this repository using Git:
git clone https://github.com/ALAADROID/CaesarCipher.git
cd CaesarCipherTo compile the program, use GCC:
gcc -o caesar_cipher main.cAfter compiling, run the program using:
./caesar_cipher- Make sure you have GCC installed on your system.
- If you're on Windows, you may need to use MinGW or WSL to run the compiled program.
If you'd like to run the project locally, simply clone or download the repository, compile main.c, and execute the generated binary using any standard C compiler such as GCC.
Simply open the file in your preferred compiler, compile, and run the program as instructed. Enjoy exploring the Caesar Cipher encryption and decryption process!
This project is open-source and free to use.
Developed by ALAADROID

