pub async fn open_easy<N, M, C, P, S>(
    nonce: N,
    message: M,
    cipher: C,
    src_pub_key: P,
    dest_sec_key: S
) -> Result<(), OneErr> where
    N: 'static + Into<BufReadSized<{_: usize}>> + Send,
    M: 'static + Into<BufWrite> + Send,
    C: 'static + Into<BufRead> + Send,
    P: 'static + Into<BufReadSized<{_: usize}>> + Send,
    S: 'static + Into<BufReadSized<{_: usize}>> + Send
Expand description

decrypt data with box_curve25519xsalsa20poly1305_open_easy