Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/mehdizonjy/xor-file
- Owner: MehdiZonjy
- Created: 2016-05-30T19:13:29.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-05-30T20:15:14.000Z (over 8 years ago)
- Last Synced: 2023-12-24T22:07:13.477Z (11 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 --helpUsage: 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*