Expand description

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.


pub use provider::aead;


Error type.

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.


Authenticated Encryption with Associated Data (AEAD) algorithm.

Authenticated Encryption with Associated Data (AEAD) algorithm core trait.

In-place stateless AEAD trait.

Instantiate either a stateless Aead or stateful AeadMut algorithm.

Type Definitions