Function wedpr_l_crypto_zkp_discrete_logarithm_proof::prove_knowledge_proof [−][src]
pub fn prove_knowledge_proof(
c_value: u64,
c_blinding: &Scalar,
c_basepoint: &RistrettoPoint,
blinding_basepoint: &RistrettoPoint
) -> BalanceProof
Expand description
Proves owner know a commitment’s secret value c_value and c_blinding, i.e. the values embedded in c_point = c_value * c_basepoint + c_blinding * blinding_basepoint It returns a proof for the above balance relationship.