orion

dependency status

About

orion is a cryptography library written in pure-Rust which aims to provide easy and usable crypto. 'Usable' meaning exposing high-level API's that are easy to use and hard to misuse. You can read more about orion in the wiki.

Currently supports: * AEAD: ChaCha20Poly1305, XChaCha20Poly1305 * Stream ciphers: ChaCha20, XChaCha20 * KDF: HKDF-HMAC-SHA512 * Password hashing: PBKDF2-HMAC-SHA512 * MAC: HMAC-SHA512, Poly1305 * XOF: cSHAKE256

Security

This library is not suitable for production code and usage is at own risk.

More information about security regarding orion is available in the wiki.

Features

Documentation

Can be viewed here or built with:

cargo doc --no-deps

Tests/Fuzzing

The wiki has details on how orion is tested. To run all tests: cargo test

Fuzzing is done using libFuzzer with cargo-fuzz. Fuzzing targets can be run with: cargo +nightly fuzz run -O fuzz_target

Benchmarks

The library can be benchmarked as below. All benchmarking tests are located in benches/. cargo +nightly bench

Changelog

Can be found here.

Alternatives

License

orion is licensed under the MIT license. See the LICENSE file for more information.