Skip to content

Everything a store persists, except a few small plain files, is sealed with authenticated encryption. This section describes the keys, the keyring file, the trailer that ends every sealed region, how nonces are built and what each sealed object binds into its authentication.

Purpose Algorithm
All sealing AES-256-GCM (aws-lc-rs), 96-bit nonce, 128-bit tag
Key derivation for auxiliary keys HMAC-SHA256
WAL record integrity (inside the AEAD) CRC32C
Bloom hashing xxh3-64 (not a security function)

A sealed region is a WAL block, a MANIFEST record body, a SEAM frame, a SEAM footer or a derived cache file. Each ends with the 32-byte seal trailer. The keyring file is sealed directly by the master key with its own layout. Catalog values for MySQL caching_sha2 passwords have their own sealed form.