XOR Cipher
Description
This project implements a simple XOR cipher for encrypting and decrypting text using a key. XOR encryption is a symmetric operation, meaning the same function is used to both encrypt and decrypt data.
Directory Structure
include/: Contains the header files.src/: Contains the source code files (main.candxor_cipher.c).obj/: Contains the compiled object files.build/: Contains the Makefile and the compiled binary.
How to Build
- Navigate to the
builddirectory. - Run
maketo compile the project.
How to Run
- After building, you will find an executable named
xor_cipherin thebuilddirectory. - Run it using
./xor_cipher.
How to Clean
- Run
make cleanin thebuilddirectory to remove all compiled files.