Function sodoken::sealed_box::curve25519xchacha20poly1305::keypair [−][src]
pub async fn keypair<P, S>(pub_key: P, sec_key: S) -> SodokenResult<()> where
P: Into<BufWriteSized<PUBLICKEYBYTES>> + 'static + Send,
S: Into<BufWriteSized<SECRETKEYBYTES>> + 'static + Send,
Expand description
create a box curve25519xchacha20poly1305 keypair from entropy