rugenere is a simple vigenère cipher tool written in rust. It can encode and decode text either from the standard input or a file. It can also write the output to a file.
| Branches | Build Status |
|:--------:|:------------:|
| master ||
| dev |
|
To install this tool just clone the git repository by running the following command (have in mind that this will clone the repository to your current directory).
```bash
git clone https://github.com/bruno-anjos/rugenere.git cd rugenere cargo build --release ```
I made it easier to run this tool by creating a link to the binary in the target directory.
Run rugenere with the --help
to get helpful information
```bash
./rugenere --help rugenere 1.0 Bruno Anjos bruno.vale.anjos@gmail.com Vigenére cipher encoder and decoder.
USAGE:
rugenere [OPTIONS]
FLAGS: -h, --help Prints help information -V, --version Prints version information
OPTIONS:
-i, --input file name to read content from
-m, --mode
ARGS:
Run rugenere with the m
flag set to encode
```bash
./rugenere TESTKEY -m encode THis Is AN exaMPlE Result: MLal Sw YG iptWTjX ```
Run rugenere with the m
flag set to decode
```bash
./rugenere TESTKEY -m decode MLal Sw YG iptWTjX Result: THis Is AN exaMPlE ```
Run rugenere with the i
flag followed by the file name
```bash
./rugenere TESTKEY -m encode -i input_test Result: MlAL sw hNWl tX IvTQheo ```
Run rugenere with the o
flag followed by the file name
```bash
./rugenere TESTKEY -m encode -i inputtest -o outputtest cat output_test MlAL sw hNWl tX IvTQheo ```
If you detect any bug or find any way to improve the code, please make a pull request or submit an issue.
This project is licensed under the GNU License - see the LICENSE.md file for details