[][src]Trait secp256k1_zkp::schnorrsig::Sign

pub trait Sign {
    fn schnorrsig_sign(&self, msg: &Message, sk: &SecretKey) -> Signature;
}

Schnorrsig signing trait

Required methods

fn schnorrsig_sign(&self, msg: &Message, sk: &SecretKey) -> Signature

Creates a Schnorr signature as defined by BIP-schnorr from a message and a secret key.

Loading content...

Implementations on Foreign Types

impl<C> Sign for Secp256k1<C> where
    C: Signing
[src]

Loading content...

Implementors

Loading content...