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 key map. Shape: { keys: { "<keyId>": {"$bytes": "<hex>"} } }. Keys are 32 bytes.