solana_zk_token_sdk::encryption

Module 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§

AeCiphertext
Authenticated encryption nonce and ciphertext
AeKey

Constants§

AE_KEY_LEN
Byte length of an authenticated encryption secret key