Function holochain::prelude::kitsune_p2p::dependencies::kitsune_p2p_types::dependencies::lair_keystore_api::dependencies::hc_seed_bundle::dependencies::sodoken::crypto_box::curve25519xchacha20poly1305::open_easy
source · pub async fn open_easy<N, M, C, P, S>(
nonce: N,
message: M,
cipher: C,
src_pub_key: P,
dest_sec_key: S
) -> impl Future<Output = Result<(), OneErr>>where
N: Into<BufReadSized<sodoken::::crypto_box::curve25519xchacha20poly1305::open_easy::{constant#0}>> + 'static + Send,
M: Into<BufWrite> + 'static + Send,
C: Into<BufRead> + 'static + Send,
P: Into<BufReadSized<sodoken::::crypto_box::curve25519xchacha20poly1305::open_easy::{constant#1}>> + 'static + Send,
S: Into<BufReadSized<sodoken::::crypto_box::curve25519xchacha20poly1305::open_easy::{constant#2}>> + 'static + Send,
Expand description
decrypt data with box_curve25519xchacha20poly1305_open_easy