1
0
Fork
You've already forked XORFileEncryption
0
Simple File Encryption Tool in C
  • C 100%
2025年01月22日 13:31:18 +00:00
LICENSE Initial commit 2025年01月22日 13:30:29 +00:00
main.c Add main.c and README.md 2025年01月22日 13:31:18 +00:00
README.md Add main.c and README.md 2025年01月22日 13:31:18 +00:00

XOR File Encryption Tool

This is a simple file encryption tool written in C, which uses the XOR cipher for encryption and decryption.

Compile

gcc main.c -o main

Usage

To Encrypt using CLI (Custom Password): ./main -E /path/to/file /path/to/outputFile <password>

To Encrypt using CLI (Random Password): ./main -E /path/to/file /path/to/outputFile -G <length of random password>

To Decrypt using CLI: ./main -D /path/to/file /path/to/outputFile <password>

For interactive mode run the binary without any arguments: ./main

License

AGPL-3.0-only