orion
Warning: I'm no expert on cryptography, use this at your own risk.
This project is very early-stage. I plan on adding more, as long as I can find the time for it. Contributions are more than welcome!
Currently contains:
- HMAC with SHA1 and SHA2(256, 384, 512).
- HKDF with the above HMAC options.
Usage
Include it in your Cargo.toml
file:
[dependencies]
orion = ">=0.1.4"
and in relevant files:
extern crate orion
Check the documentation for more specific usage.
Documentation
Tests
All unit-tests are located in the same file as the functions they are testing.
To run tests: cargo test
.
License
orion is licensed under the MIT license. See the LICENSE
file for more information.