Function holochain::prelude::dependencies::kitsune_p2p_types::dependencies::lair_keystore_api::dependencies::hc_seed_bundle::dependencies::sodoken::secretbox::xchacha20poly1305::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<_>> + 'static + Send,
M: Into<BufRead> + 'static + Send,
K: Into<BufReadSized<_>> + 'static + Send,
Expand description
encrypt data with crytpo_secretbox_xchacha20poly1305_easy