ring

Module aead

Source
Expand description

Authenticated Encryption with Associated Data (AEAD).

See Authenticated encryption: relations among notions and analysis of the generic composition paradigm for an introduction to the concept of AEADs.

Modules§

Structs§

  • The additionally authenticated data (AAD) for an opening or sealing operation. This data is authenticated but is not encrypted.
  • An AEAD Algorithm.
  • Immutable keys for use in situations where OpeningKey/SealingKey and NonceSequence cannot reasonably be used.
  • A nonce for a single AEAD opening or sealing operation.
  • An AEAD key for authenticating and decrypting (“opening”), bound to a nonce sequence.
  • An AEAD key for encrypting and signing (“sealing”), bound to a nonce sequence.
  • A possibly valid authentication tag.
  • An AEAD key without a designated role or nonce sequence.

Constants§

  • The maximum length of a tag for the algorithms in this module.
  • All the AEADs we support use 96-bit nonces.

Statics§

Traits§