[][src]Crate orion

A usable pure-Rust cryptography library.

Authenticated secret-key encryption

orion::aead offers authenticated secret-key encryption using XChaCha20Poly1305.

Password hashing and verification

orion::pwhash offers password hashing and verification using PBKDF2.

Key derivation

orion::kdf offers key derivation using PBKDF2.

Message authentication

orion::auth offers message authentication and verification using HMAC.

Hashing

orion::hash offers hashing using BLAKE2b.

A note on no_std:

When orion is used in a no_std context, access to nearly all functionality outside of hazardous, is not available.

More information about orion is available in the wiki.

Modules

aead

Authenticated secret-key encryption.

auth

Message authentication.

errors

Errors for orion's cryptographic operations.

hash

Hashing.

hazardous

[Caution] Low-level API.

kdf

Key derivation.

pwhash

Password hashing and verification.

util

Utilities such as constant-time comparison.