pub async fn seal<C, M, P>(
    cipher: C,
    message: M,
    dest_pub_key: P
) -> impl Future<Output = Result<(), OneErr>>where
    C: Into<BufWrite> + 'static + Send,
    M: Into<BufRead> + 'static + Send,
    P: Into<BufReadSized<sodoken::::crypto_box::curve25519xsalsa20poly1305::seal::{constant#0}>> + 'static + Send,
Expand description

seal (encrypt) a message with an ephemeral key that can’t even be decrypted by this sender.