Function holochain::prelude::kitsune_p2p::dependencies::kitsune_p2p_types::dependencies::lair_keystore_api::dependencies::hc_seed_bundle::dependencies::sodoken::secretbox::xsalsa20poly1305::easy
source · 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