| Crates.io | xrc_cli |
| lib.rs | xrc_cli |
| version | 2.0.0 |
| created_at | 2022-11-28 06:50:35.799099+00 |
| updated_at | 2025-02-21 08:31:27.658293+00 |
| description | A cli for multi-threaded encryption/decryption of files/folder using bitwise xor |
| homepage | |
| repository | https://github.com/shank03/XORCryptor |
| max_upload_size | |
| id | 724158 |
| size | 2,233,015 |
XORCryptorEncrypts or decrypts the file(s) using algorithm based on XOR bitwise operation.
About algorithm - Implementation lib

Older C++ version: CLI
CLIThis cli encrypts or decrypts the file(s) in synchronized multi-buffered multithreading way.
So the only bottleneck is your disk read/write speed.
Installing CLI$ cargo install xrc_cli
UsageUsage: xrc_cli [OPTIONS] <files>...
Arguments:
<files>... Files and folders to process
Options:
-e, --encrypt Encrypt
-d, --decrypt Decrypt
-l, --legacy Legacy for older v1 (uses v2 as default)
-p If set, does not delete the source file
-r Recursively iterate folders if present
-j <jobs> No. of jobs
-h, --help Print help (see more with '--help')
-V, --version Print version
It will ask for key everytime you encrypt or decrypt some file
$ xrc_cli -e file.ext
Before command: After command:
random_folder random_folder
|- some_fld |- some_fld
| |- t.txt | |- t.txt
| |- p.txt | |- p.txt
| |- in_fld | |- in_fld
| |- v.mp4 | |- v.mp4
|- file.ext |- file.ext.xrc
$ xrc_cli -e file.ext some_fld
Before command: After command:
random_folder random_folder
|- some_fld |- some_fld
| |- t.txt | |- t.txt.xrc
| |- p.txt | |- p.txt.xrc
| |- in_fld | |- in_fld
| |- v.mp4 | |- v.mp4
|- file.ext |- file.ext.xrc
$ xrc_cli -p -e file.ext some_fld
Before command: After command:
random_folder random_folder
|- some_fld |- some_fld
|- t.txt | |- t.txt
|- p.txt | |- t.txt.xrc
|- in_fld | |- p.txt
| |- v.mp4 | |- p.txt.xrc
|- file.ext | |- in_fld
| |- v.mp4
|- file.ext
|- file.ext.xrc
$ xrc_cli -r -e file.ext some_fld
Before command: After command:
random_folder random_folder
|- some_fld |- some_fld
| |- t.txt | |- t.txt.xrc
| |- p.txt | |- p.txt.xrc
| |- in_fld | |- in_fld
| |- v.mp4 | |- v.mp4.xrc
|- file.ext |- file.ext.xrc
DO NOT FORGET THE KEY YOU GAVE FOR ENCRYPTION