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: 'static + Into<BufReadSized<{_: usize}>> + Send,
    M: 'static + Into<BufRead> + Send,
    P: 'static + Into<BufReadSized<{_: usize}>> + Send,
    S: 'static + Into<BufReadSized<{_: usize}>> + Send
Expand description

encrypt data with box_curve25519xchacha20poly1305_easy