#secret-key #encryption #data #libsodium #decryption #wrapper #sodiumoxide

simplecrypt

simple wrapper around sodiumoxide (libsodium) to easily encrypt and decrypt data with a secret key

3 stable releases

1.0.2 Jul 12, 2021
1.0.1 May 5, 2020

#1690 in Cryptography

Download history 8/week @ 2023-11-27 14/week @ 2023-12-04 1/week @ 2023-12-11 2/week @ 2023-12-18 30/week @ 2024-01-08 8/week @ 2024-01-15 10/week @ 2024-01-22 20/week @ 2024-01-29 22/week @ 2024-02-05 20/week @ 2024-02-12 40/week @ 2024-02-19 44/week @ 2024-02-26 35/week @ 2024-03-04 31/week @ 2024-03-11

152 downloads per month
Used in 3 crates

MIT license

10KB
132 lines

simplecrypt

Wrapper around sodiumoxide that supports encrypting and decrypting arbitrary data with a secret key.

Installation

simplecrypt is hosted on crates.io To use the crate, just add it to the [dependencies] section in your Cargo.toml file.

simplecrypt = "1.0"

Docs

You can find the documentation on the docs.rs page.

To build the documentation locally, clone the repository and run

cargo doc --open

Tests

To run the tests, clone the repository and run

cargo test

lib.rs:

Simple library that allows to easily encrypt and decrypt data with a secret key using sodium.

Dependencies

~18MB
~92K SLoC