Module auth_encryption

Source
Expand description

Authenticated encryption implementation.

This module is a simple wrapper of the Aes128GcmSiv implementation specialized for SPL Token2022 program where the plaintext is always a u64 number.

Structsยง

AeCiphertext
Authenticated encryption nonce and ciphertext
AeKey