Skip to main content

parse_encryption

Function parse_encryption 

Source
pub fn parse_encryption(value: &Value) -> Result<EncryptionConfig, String>
Expand description

§5.11: parse the encryption config into the client’s portable keyring. Shape: { keys: { "<keyId>": {"$bytes": "<hex>"} }, keyIdColumns: { "<table>": "<column>" } }. Keys are 32 bytes.