pub async fn easy<N, M, P, S>(
nonce: N,
message: M,
dest_pub_key: P,
src_sec_key: S
) -> Result<BufRead, OneErr>where
N: Into<BufReadSized<sodoken::::crypto_box::curve25519xchacha20poly1305::easy::{constant#0}>> + 'static + Send,
M: Into<BufRead> + 'static + Send,
P: Into<BufReadSized<sodoken::::crypto_box::curve25519xchacha20poly1305::easy::{constant#1}>> + 'static + Send,
S: Into<BufReadSized<sodoken::::crypto_box::curve25519xchacha20poly1305::easy::{constant#2}>> + 'static + Send,
Expand description
encrypt data with box_curve25519xchacha20poly1305_easy