Module solana_zk_token_sdk::encryption::auth_encryption
source · Expand description
Authenticated encryption implementation.
This module is a simple wrapper of the Aes128GcmSiv
implementation specialized for SPL
token-2022 where the plaintext is always u64
.
Structs
- Authenticated encryption nonce and ciphertext
Enums
Type Definitions
- For the purpose of encrypting balances for the spl token accounts, the nonce and ciphertext sizes should always be fixed.