Struct dusk_schnorr::Proof [−][src]
pub struct Proof { /* fields omitted */ }
Implementations
An Schnorr signature, produced by signing a message with a
SecretKey
.
Function to verify that two given point in a Schnorr signature have the same DLP
pub fn to_witness(
&self,
composer: &mut TurboComposer
) -> (Witness, WitnessPoint, WitnessPoint)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Proof
impl UnwindSafe for Proof
Blanket Implementations
Mutably borrows from an owned value. Read more
fn from_hex_str(s: &str) -> Result<Self, Self::Error> where
Self::Error: BadLength,
Self::Error: InvalidChar,
fn from_hex_str(s: &str) -> Result<Self, Self::Error> where
Self::Error: BadLength,
Self::Error: InvalidChar,
Parse a string slice as bytes hex representation and returns `