Crates.io | kripher |
lib.rs | kripher |
version | 0.8.0 |
source | src |
created_at | 2016-01-21 13:02:18.445523 |
updated_at | 2016-08-14 15:32:34.002834 |
description | File encoder based on an own algorithm. |
homepage | |
repository | https://github.com/marionauta/kripher.rs |
max_upload_size | |
id | 3943 |
size | 15,016 |
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.
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
cargo install kripher
This is the easiest way, but you need Rust and Cargo to build it.
Go to the latest release, download it, extract it and move:
kripher
to /usr/local/bin
.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
Anyone is welcome to contribute. All contributions will be licensed under the MIT license.