Encrypt
Less than 1 minute
Encrypt
Column-level encryption configuration for Hazaar\DBI\Adapter.
class Encrypt extends \Hazaar\Model\StructExtends: Hazaar\Model\Struct
Properties
table
Per-table column encryption allow-list. Each key is a table name; the value is either
public array $tableType: array
true (encrypt all string columns of that table) or a list of column names to encrypt.
key
public string $keyType: string
keyfile
Path, relative to the application's config directory, of the file containing the encryption key.
public string $keyfile = '.db_key'Type: string
cipher
public string $cipher = 'aes-256-ctr'Type: string
checkstring
public string $checkstring = '!!'Type: string
Generated by Hazaar API Doc Generator on Fri, 04 Sep 2026 23:32:16 +0000