Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mehdizonjy/xor-file

a Simple Nodejs CLI that encrypts files using XOR
https://github.com/mehdizonjy/xor-file

Last synced: 9 days ago
JSON representation

a Simple Nodejs CLI that encrypts files using XOR

Awesome Lists containing this project

README

        

#XOR-File
a simple nodejs cli that reads a file as an input and encrypts it using **XOR** operator.

for help use

```
>xor-file --help

Usage: xor-file [options]

Options:

-h, --help output usage information
-s,--seed the seed to xor the file aganist. Default 50
-o, --output output file. Default '.enc'
```

#Example:

##to encrypt:
```
xor-file my-image.jpg --seed 40 --output my-image.enc
```
##to decrypt:
```
xor-file my-image.enc --seed 40 --output my-image2.jpg
```
*you need to pass the same seed you used to encrypt the file*