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!
It relies on ring for things like SHA.
Currently contains: * HMAC with SHA1, SHA256, SHA384, SHA512. * HKDF with the above HMAC options.
Include it in your Cargo.toml
file:
[dependencies]
orion = ">=0.1.3"
and in relevant files:
extern crate orion
Check the documentation for more specific usage.
All unit-tests are located in the same file as the functions they are testing.
To run tests: cargo test
.
orion is licensed under the MIT license. See the LICENSE
file for more information.