Skip to main content

open_box

Function open_box 

Source
pub fn open_box(key: &[u8; 32], label: &[u8], sealed: &[u8]) -> Option<Vec<u8>>
Expand description

The plaintext of a box sealed under key and label, or None when it is shorter than a box or does not authenticate.