This is a simple encryption program that encrypts contents such as text files, images and other files in folders.
Here is an example to encrypt a folder path
./rustcrypt encrypt -r ./path/to/stuff -p password123To decrypt just change the operation tag to this
./rustcrypt decrypt -r ./path/to/stuff -p password123You can run ./rustcrypt --help to get a list of all the options
Note: Since this project does not have a system install be carful to not encrypt the binary file
Binary build: If you want to build a binary file then follow theses steps:
You are going to need:
- Rust and a linker (i.g MinGW) for compiling
- Git to clone this repo
If you have all those then clone this repo
git clone https://github.com/dhogenson/rustcrypt.git
cd rustcryptIf all that goes well you can build from source
cargo build --releasethat will make a binary file in target/release/ that you can run.
User wide install: This is very simlare to installing a binary, again you are going to need Rust and Git. To install user wide is pretty simple.
- First clone the repo
git clone https://github.com/dhogenson/rustcrypt.git
cd rustcrypt- Install
cargo install --path .If that's working then you can run the command any where
rustcrypt --versionNote: You might have to have the cargo folder in your PATH