pub async fn open_easy<N, M, C, K>(
    nonce: N,
    message: M,
    cipher: C,
    shared_key: K
) -> Result<(), OneErr> where
    N: 'static + Into<BufReadSized<{_: usize}>> + Send,
    M: 'static + Into<BufWrite> + Send,
    C: 'static + Into<BufRead> + Send,
    K: 'static + Into<BufReadSized<{_: usize}>> + Send
Expand description

decrypt data with crypto_secretbox_xsalsa20poly1305_open_easy