Function lair_keystore::dependencies::hc_seed_bundle::dependencies::sodoken::crypto_box::curve25519xsalsa20poly1305::keypair
source ยท 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