XORCryptor

Encrypts or decrypts the text or file using XOR bitwise operation.

Older C++ version: CLI

CLI

This 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

shell $ cargo install xrc_cli

Usage

```shell Usage: xrc_cli [OPTIONS] ...

Arguments: ... Files and folders to process

Options: -e, --encrypt Encrypt -d, --decrypt Decrypt -r Recursively iterate folders if present -j No. of jobs -h, --help Print help information -V, --version Print version information ```

Click to expand for examples

It will ask for key everytime you encrypt or decrypt some file

Encrypt

shell $ xrc_cli -e file.ext

``` Before command: After command:

randomfolder randomfolder |- somefld |- somefld | |- t.txt | |- t.txt | |- p.txt | |- p.txt | |- infld | |- infld | |- v.mp4 | |- v.mp4 |- file.ext |- file.ext.xrc ```

With Folder

shell $ xrc_cli -e file.ext some_fld

``` Before command: After command:

randomfolder randomfolder |- somefld |- somefld | |- t.txt | |- t.txt.xrc | |- p.txt | |- p.txt.xrc | |- infld | |- infld | |- v.mp4 | |- v.mp4 |- file.ext |- file.ext.xrc ```

Preserve source

shell $ xrc_cli -p -e file.ext some_fld

``` Before command: After command:

randomfolder randomfolder |- somefld |- somefld |- t.txt | |- t.txt |- p.txt | |- t.txt.xrc |- infld | |- p.txt | |- v.mp4 | |- p.txt.xrc |- file.ext | |- infld | |- v.mp4 |- file.ext |- file.ext.xrc ```

Iterate Recursively

shell $ xrc_cli -r -e file.ext some_fld

``` Before command: After command:

randomfolder randomfolder |- somefld |- somefld | |- t.txt | |- t.txt.xrc | |- p.txt | |- p.txt.xrc | |- infld | |- infld | |- v.mp4 | |- v.mp4.xrc |- file.ext |- file.ext.xrc ```

NOTE !

DO NOT FORGET THE KEY YOU GAVE FOR ENCRYPTION