Skip to content

tst2005/xor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lua XOR

This project is simple utility to xor files together.

Demo

No demo available yet.

Usage

Usage: xor [<option>] <input> [<option>] <input> [[<option>] <inputN>] [...]
Options:
  -m|--master           stop everything at end-of-file of the next file argument
  -w|--write <path>     the read input data will be write in the <path> file
Inputs:
  -                     use stdin as input
  <path>                open and read the <path> file

Samples

$ ./xor fileA fileB fileC > resultfile
$ echo 'hello world!' | ./xor --master - /dev/urandom --write part1 > part2
$ ./xor part1 part2
hello world!
$ echo 'hello world!' | ./xor -m - /dev/urandom -w part1 /dev/urandom -w part2 > part3
$ ./xor part1 part2 part3
hello world!
$ ./xor part*
hello world!

License

Code is under the MIT License.

Contact

If you have any ideas, feedback, requests or bug reports, you can reach me at tst2005@gmail.com, or via the github issues

About

[####-] Xor command line utility made with lua

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages