Function lair_keystore::dependencies::sodoken::sign::detached
source ยท pub async fn detached<Sig, M, S>(
signature: Sig,
message: M,
sec_key: S,
) -> Result<(), OneErr>where
Sig: Into<BufWriteSized<sodoken::::sign::detached::{constant#0}>> + 'static + Send,
M: Into<BufRead> + 'static + Send,
S: Into<BufReadSized<sodoken::::sign::detached::{constant#1}>> + 'static + Send,
Expand description
create a signature from a signature private key