#xor #encryption #command-line #cli

app xor-keysize-guess

Command line app to guess the size of a key that was used to XOR encrypt a file

2 stable releases

Uses old Rust 2015

1.0.1 May 26, 2017
1.0.0 May 22, 2017

#35 in #xor

MIT license

5KB

xor-keysize-guess

This is a small command line application that can be used to guess the size of the key that was used to XOR encrypt a file.

Installation

If you've not already done so, install rust: https://www.rust-lang.org/

Then install via cargo with:

$ cargo install xor

Help

$ xor-keysize-guess --help
xor-keysize-guess 1.0.0
Gavyn Riebau
Guesses the most likely keysize used to XOR encrypt a given file.

USAGE:
	xor-keysize-guess [OPTIONS] --input <INPUT>

FLAGS:
	-h, --help       Prints help information
	-V, --version    Prints version information

OPTIONS:
	-i, --input <INPUT>            The input file for which the XOR encryption keysize will be guessed
	-k, --keysize <MAX_KEYSIZE>    The maximum key size to guess [default: 40]

Dependencies

~4.5MB
~83K SLoC