The example above creates a random 32 byte (256-bit) index key.
This is fine for evaluation purposes, but for production use, we recommend that you use an HSM or KMS solution.
Encrypted Index Caching
For improved query performance, you can enable encrypted index caching by setting amax_cache_size
: