gy001 / pypcs

10 stars 8 forks source link

Feat/pedersen commitment #3

Closed wfnuser closed 1 month ago

wfnuser commented 1 month ago

The diagram will visually represent the 3-round interaction:

    Prover -> (r, r_rho) -> Verifier
    Verifier -> c -> Prover
    Prover -> (z, z_rho) -> Verifier
    Where z = r + c * sk and z_rho = r_rho + c * rho

The Verifier should verify that the commitment is correct, i.e., $$[z;z{\rho}] ?= [r;r{\rho}] + c * PK$$