simple_crypt 0.1.4

A simple and high level library to encrypt and decrypt text, files and any data with it
Documentation

simple-crypt

A simple and high level library to encrypt and decrypt text, files and any data with it

Usage

add this to Cargo.toml:

simple-crypt = "0.1.4"

Examples

Encrypting

let encrypted_data = encrypt(b"example text", "example passowrd").expect("Failed to encrypt");

Decrypting

let data = decrypt(&encrypted_data, "example passowrd").expect("Failed to decrypt");

Go to Documentation | Repository