Function lair_keystore::dependencies::sodoken::secretbox::xsalsa20poly1305::easy

source ยท
pub async fn easy<N, M, K>(
    nonce: N,
    message: M,
    shared_key: K,
) -> 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