pub async fn open_easy<N, M, C, K>(
    nonce: N,
    message: M,
    cipher: C,
    shared_key: K
) -> impl Future<Output = Result<(), OneErr>>where
    N: Into<BufReadSized<sodoken::::secretbox::xsalsa20poly1305::open_easy::{constant#0}>> + 'static + Send,
    M: Into<BufWrite> + 'static + Send,
    C: Into<BufRead> + 'static + Send,
    K: Into<BufReadSized<sodoken::::secretbox::xsalsa20poly1305::open_easy::{constant#1}>> + 'static + Send,
Expand description

decrypt data with crypto_secretbox_xsalsa20poly1305_open_easy