#encryption #argon2 #cypher #aes

simple_crypt

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

11 releases

0.2.3 Aug 13, 2022
0.2.2 Aug 13, 2022
0.1.9 Aug 11, 2022

#2701 in Cryptography

Download history 204/week @ 2025-08-24 348/week @ 2025-08-31 304/week @ 2025-09-07 303/week @ 2025-09-14 173/week @ 2025-09-21 170/week @ 2025-09-28 161/week @ 2025-10-05 151/week @ 2025-10-12 251/week @ 2025-10-19 263/week @ 2025-10-26 331/week @ 2025-11-02 274/week @ 2025-11-09 381/week @ 2025-11-16 252/week @ 2025-11-23 244/week @ 2025-11-30 320/week @ 2025-12-07

1,217 downloads per month
Used in 5 crates (4 directly)

MIT license

14KB
167 lines

Simple Crypt

simple_crypt is a high-level library to encrypt and decrypt data

For encryption it uses AES-GCM-SIV-256 and Argon2

Usage

add this to Cargo.toml:

simple_crypt = "*"

Examples

// Encrypting

use simple_crypt::encrypt;
let encrypted_data = encrypt(b"example text", b"example password").expect("Failed to encrypt");

// Decrypting

use simple_crypt::decrypt;
let data = decrypt(&encrypted_data, b"example password").expect("Failed to decrypt");

And there are other functions to encrypt files or folders see the documentation

Documentation Repository


Simple Crypt

A simple and high-level rust library to encrypt and decrypt texts, files, folders and any data with it For encryption, it uses AES-GCM-SIV-256 and Argon2

Usage

add this to Cargo.toml:

simple_crypt = "*"

Examples

Encrypting

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

Decrypting

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

And there are other functions to encrypt files or folders see the documentation

Go to Documentation | Repository

Dependencies

~3–15MB
~169K SLoC