Skip to main content

open_raw

Function open_raw 

Source
pub fn open_raw(
    key: &Key,
    at: &Place<'_>,
    sealed: &[u8],
) -> Result<Zeroizing<Vec<u8>>, String>
Expand description

Opens what seal_raw sealed for at. Fails, with one sentence for every cause, on any change to the record, on a record sealed for another Vault, record, version or epoch, and on another key. What it returns is wiped when dropped.