Function nacl::public_box::format_wn::stream::open[][src]

pub fn open(c: &[u8], k: &[u8]) -> Result<Vec<u8>, Error>
Expand description

This function opens cipher that has a with-nonce layout, which is nonce, followed by poly1305 hash, followed by xsalsa20 cipher.