🔑 rscrypt

rscrypt is a simple, fast, and secure encryption tool written in Rust.

Usage

Add rscrypt to your Cargo.toml:

toml [dependencies] rscrypt = "0.1.0"

or install via cargo

bash cargo add rscrypt

Features

rscrypt contains simple functions for encrypting and decrypting data.

Example

```rust use rscrypt::{gen_salt, hash, compare};

fn main() { let salt = gensalt(10); let hash = hash(&salt, "password"); let iscorrect = compare("password", &hash); println!("{}", is_correct); } ```