pub async fn keypair<P, S>(
    pub_key: P,
    sec_key: S
) -> impl Future<Output = Result<(), OneErr>>where
    P: Into<BufWriteSized<sodoken::::crypto_box::curve25519xchacha20poly1305::keypair::{constant#0}>> + 'static + Send,
    S: Into<BufWriteSized<sodoken::::crypto_box::curve25519xchacha20poly1305::keypair::{constant#1}>> + 'static + Send,
Expand description

create a box curve25519xchacha20poly1305 keypair from entropy