This is a simple way to implement substitional cipher in Rust. This works in the command line to encrypt text and files.
-
Clone this repo
git clone https://github.com/champ3oy/ROT13-cipher.git
-
cd in to repo directory
cd ROT13-cipher
-
run cargo install
cargo install --force --path .
-
run the the appliction on command line with
cargo run [args]
You can encrypt texts and files in the cmd with
cargo run "text to encrypt" //for direct text encryption
cargo run file "./path-to.file" //for *.txt file encryption
MIT
@cirlorm_io