#encode-decode #encode #decode #file #key-file #own #encoder

bin+lib kripher

File encoder based on an own algorithm

4 releases (2 breaking)

Uses old Rust 2015

0.8.0 Aug 14, 2016
0.6.1 Jun 3, 2016
0.6.0 Mar 14, 2016
0.4.2 Jan 21, 2016

#30 in #key-file

MIT license

14KB
209 lines

kripher

Travis Build Status crates.io Release

File encoder based on an own algorithm that allows you to protect your files with a numeric key.

This is a learning project, there are other options you should use if you want to protect files or any other data. Use kripher just for fun. This is a reimplementation of kripher in Rust.

Using

kripher --version
kripher [--output OUTFILE] (--encode | --decode) KEY [FILE]

Encode or decode a FILE with a numeric KEY. If no FILE is given, the standard input will be used as a source.

kripher --encode 1984 george.txt

Encode file george.txt with the key 1984 and write to stdout.

cat hal.txt | kripher -d 2001 > stanley.txt

or

kripher -o stanley.txt -d 2001 hal.txt

Decode file hal.txt with the key 2001 and write to the file stanley.txt

Installing

Cargo install

cargo install kripher

This is the easiest way, but you need Rust and Cargo to build it.

Releases

Go to the latest release, download it, extract it and move:

  1. the binary kripher to /usr/local/bin.
  2. the man page kripher.1.gz to /usr/local/share/man/man1.
tar -xf kripher.tar.xs && cd kripher
mv kripher /usr/local/bin
mv man/kripher.1.gz /usr/local/share/man/man1
  • Note: Not all operating systems are available.
  • Note 2: The commands above are for a Unix like system.

Contributing

Anyone is welcome to contribute. All contributions will be licensed under the MIT license.

No runtime deps