Trait darkfi_sdk::crypto::schnorr::SchnorrSecret
source · pub trait SchnorrSecret {
// Required method
fn sign(&self, message: &[u8]) -> Signature;
}
Expand description
Trait for secret keys that implements a signature creation
Required Methods§
Implementors§
impl SchnorrSecret for SecretKey
Schnorr signature trait implementations for the stuff in keypair.rs