Skip to main content

open_bytes

Function open_bytes 

Source
pub fn open_bytes(
    sealed: &SealedRecord,
    key: &[u8; 32],
) -> Result<Vec<u8>, CoreError>
Expand description

Open bytes sealed by seal_bytes. Fails (without detail) on a wrong key, a tampered ciphertext, or a malformed nonce — opaque so it cannot act as an oracle.