14 stable releases
3.2.9 | Oct 7, 2022 |
---|---|
3.2.8 | Sep 30, 2022 |
3.2.6 | Jul 26, 2022 |
3.2.3 | Jun 12, 2022 |
1.0.0 | Feb 26, 2022 |
#567 in Cryptography
40 downloads per month
Used in libkeycard
54KB
1K
SLoC
EZNaCl
EZNaCl is an MPL2.0-licensed library written in Rust that wraps around LibSodium and gets as close to push-button cryptography as a developer can feasibly be. At the same time, because it's cryptography, you still need to be very careful applying it.
No guarantees of any kind are provided with the library even though it has been written with care.
Also, please don't use this code to place important crypto keys in your code or embed backdoors. No one needs that kind of drama.
Description
Cryptography is really hard. Any code which implements it is equally hard. Anything which touches the implementation code isn't much easier. NaCl and LibSodium made it a lot easier, but it's still kind of hard to figure out for newcomers to encryption. This library came from a need to work with crypto keys over a text-based protocol. It had the added benefit of easing debugging code which interacts with cryptography.
Full documentation for the library can be found at https://docs.rs/eznacl/latest/eznacl/
Dependencies
~25MB
~224K SLoC