[][src]Crate hacspec_provider

Hacspec Provider

This crate provides a high-level API for hacspec implementations in examples. The provider implements the RustCrypto traits API to be interoperable with other implementations.

This crate does not have tests on its own but is tested through the utils test.

Re-exports

pub use provider::aead;

Structs

Chacha20Poly1305
Error

Error type.

Payload

AEAD payloads are a combination of a message (plaintext or ciphertext) and "additional associated data" (AAD) to be authenticated (in cleartext) along with the message.

Traits

Aead

Authenticated Encryption with Associated Data (AEAD) algorithm.

AeadInPlace

In-place stateless AEAD trait.

NewAead

Instantiate either a stateless Aead or stateful [AeadMut] algorithm.

Type Definitions

Key
Nonce
Tag