Skip to main content

open

Function open 

Source
pub fn open(
    key: &[u8; 32],
    aad: &str,
    sealed: &[u8],
) -> Result<Zeroizing<Vec<u8>>, CloudError>
Expand description

Decrypt what seal made; fails on another key, AAD or a changed byte.