This program implements the Caesar Cipher, a simple encryption technique where each letter in the plaintext is shifted by a fixed number of places in the alphabet.
This program is written in C, making it efficient for handling string manipulations.
β
Encryption and Decryption options
β
Supports both uppercase & lowercase letters
β
Input validation (ensures the key is between 0-25)
β
User-friendly menu-driven program
- Encryption: Shifts each letter forward by a given key.
- Decryption: Shifts each letter backward by the same key.
- Only alphabetic characters are transformed, keeping spaces and punctuation unchanged.
- Compile the program using a C compiler:
gcc Caesar_Cipher.c -o cipher