Function holochain::prelude::kitsune_p2p::dependencies::kitsune_p2p_types::dependencies::lair_keystore_api::dependencies::hc_seed_bundle::dependencies::sodoken::secretbox::xchacha20poly1305::open_easy
source · pub async fn open_easy<N, M, C, K>(
nonce: N,
message: M,
cipher: C,
shared_key: K
) -> impl Future<Output = Result<(), OneErr>>where
N: 'static + Into<BufReadSized<_>> + Send,
M: 'static + Into<BufWrite> + Send,
C: 'static + Into<BufRead> + Send,
K: 'static + Into<BufReadSized<_>> + Send,
Expand description
decrypt data with crypto_secretbox_xchacha20poly1305_open_easy