Skip to content

dhogenson/rustcrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This is a simple encryption program that encrypts contents such as text files, images and other files in folders.

Usage

Here is an example to encrypt a folder path

./rustcrypt encrypt -r ./path/to/stuff -p password123

To decrypt just change the operation tag to this

./rustcrypt decrypt -r ./path/to/stuff -p password123

You 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

Build from source (install)

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 rustcrypt

If all that goes well you can build from source

cargo build --release

that 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.

  1. First clone the repo
git clone https://github.com/dhogenson/rustcrypt.git
cd rustcrypt
  1. Install
cargo install --path .

If that's working then you can run the command any where

rustcrypt --version

Note: You might have to have the cargo folder in your PATH

About

A simple encryption program made with rust.

Topics

Resources

License

Stars

Watchers

Forks

Languages