This program is a simple tool for encrypting and decrypting text files using the Caesar Cipher algorithm. It's designed as an educational project to demonstrate basic file manipulation and encryption techniques.
- Encrypts plain text files with a user-provided secret key.
- Decrypts encrypted files using the corresponding secret key.
- User-friendly interface for easy interaction.
- Error handling for invalid inputs.
This program utilizes the Caesar Cipher, a simple encryption method with well-known weaknesses. It's not intended for high-security applications.
- Clone or download the project repository.
- Ensure you have a C compiler installed (e.g., GCC).
- Compile the C code (
caesar.c
) using the C compiler. - Run the compiled program, ensuring the necessary files are in the correct location.
- Follow the on-screen instructions for encryption or decryption.
The program is implemented entirely in C. It handles user interaction, file I/O, error handling, and the core encryption and decryption algorithms within the same C codebase.
This project provides a practical introduction to:
- Basic file I/O operations in C.
- Implementing encryption and decryption algorithms in C.
- Understanding the Caesar Cipher algorithm and its limitations.
- Andrew Sliva
Explore more advanced encryption algorithms and libraries. Implement unit tests for the program's functionality. Feel free to contribute or modify the code for further learning!