3 stable releases
1.0.2 | Jul 12, 2021 |
---|---|
1.0.1 | May 5, 2020 |
#1984 in Cryptography
91 downloads per month
Used in 3 crates
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
~19MB
~99K SLoC