[][src]Crate aes_sid

Authenticated encryption for the 64-bit integer range using techniques from the AES-SIV (i.e. AES-CTR + AES-CMAC) construction, with 128-bit ciphertexts. Useful for encrypting database primary keys or other 64-bit identifiers with tamper-detecting ciphertexts small enough to fit in a UUID.

Structs

AesSid

Constants

CIPHERTEXT_SIZE

Length of the resulting ciphertext in bytes

IV_SIZE

Size of the SIV tag in bytes

Type Definitions

Aes128Sid

AES-SID with a 128-bit AES key (AES-128-SID)

Aes256Sid

AES-SID with a 256-bit AES key (AES-256-SID)