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

encrypt data with crytpo_secretbox_xsalsa20poly1305_easy