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

create a box curve25519xsalsa20poly1305 keypair from entropy