/// Verify a proof for a given public key and a data slice
Verify a proof for a given public key and a data slice
Verify a proof for a given public key and a data slice
pub fn verify(&self, public_key: &PublicKey, input: &[u8]) -> bool {
        let dleq = dleq::DLEQ {
            g1: &RISTRETTO_BASEPOINT_POINT,
            h1: &public_key.0,
            g2: &make_message_hash_point(input),
            h2: &self.u.0,
        };
        dleq::verify(&dleq, &self.dleq_proof)
    }
pub fn verify ( & self , public_key : & PublicKey , input : & [ u8 ] ) -> bool { let dleq = dleq :: DLEQ { g1 : & RISTRETTO_BASEPOINT_POINT , h1 : & public_key . 0 , g2 : & make_message_hash_point ( input ) , h2 : & self . u . 0 , } ; dleq :: verify ( & dleq , & self . dleq_proof ) }
Verify a proof for a given public key and a data slice
Verify a proof for a given public key and a data slice
&self
public_key
&PublicKey
input
&[u8]