#key

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

#1129 in Cryptography

Download history 46/week @ 2024-12-10 10/week @ 2024-12-17 6/week @ 2025-01-07 22/week @ 2025-01-14 42/week @ 2025-01-21 17/week @ 2025-01-28 28/week @ 2025-02-04 63/week @ 2025-02-11 25/week @ 2025-02-18 24/week @ 2025-02-25 29/week @ 2025-03-04 58/week @ 2025-03-11 18/week @ 2025-03-18 10/week @ 2025-03-25

119 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

Dependencies

~18MB
~94K SLoC