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: 'static + Into<BufReadSized<_>> + Send,
M: 'static + Into<BufRead> + Send,
K: 'static + Into<BufReadSized<_>> + Send,
Expand description
encrypt data with crytpo_secretbox_xsalsa20poly1305_easy