Skip to main content

open_column

Function open_column 

Source
pub fn open_column(
    keys: &ColumnKeys,
    ctx: &ColumnContext<'_>,
    blob: &[u8],
) -> Result<Vec<u8>, KeyError>
Expand description

Opens a value seal_column made for the same keys and context; any change to the blob, the keys or the context is an error, never partial plaintext.

§Errors

KeyError::Damaged for a blob that does not open, and KeyError::Memory if the subkey’s page cannot be locked.