Function holochain::prelude::dependencies::kitsune_p2p_types::dependencies::lair_keystore_api::dependencies::hc_seed_bundle::dependencies::sodoken::crypto_box::curve25519xchacha20poly1305::keypair
source · pub async fn keypair<P, S>(
pub_key: P,
sec_key: S
) -> impl Future<Output = Result<(), OneErr>>where
P: 'static + Into<BufWriteSized<_>> + Send,
S: 'static + Into<BufWriteSized<_>> + Send,
Expand description
create a box curve25519xchacha20poly1305 keypair from entropy