[ZKP]The Chaum-Pedersen Protocol

The Chaum-Pedersen Protocol

Introduction

The Chaum-Pedersen protocol allows a prover to convince a skeptical verifier that a given triple is
a DH-triple, without revealing anything else to the verifier.

Let G \mathbb{G} G be a cyclic group of prime order q q q generated by g ∈ G g \in \mathbb{G} gG. For α , β , γ ∈ Z q \alpha, \beta, \gamma \in \mathbb{Z}_q α,β,γZq, we say that ( g α , g β , g γ ) (g^{\alpha}, g^{\beta}, g^{\gamma}) (gα,gβ,gγ) is a DH-triple if α β = γ \alpha\beta = \gamma αβ=γ. Equivalently, ( u , v , w ) (u, v, w) (u,v,w) is a DH-triple if and only if there exists β ∈ Z q \beta \in \mathbb{Z}_q βZq such that v = g β v = g^{\beta} v=gβ and w = u β w = u^{\beta} w=uβ

Explain: Why the two definitions are equivalent?

  1. For the first definition, e ( g α , g β ) = e ( g γ , g ) e(g^{\alpha}, g^{\beta}) = e(g^{\gamma}, g) e(gα,gβ)=e(gγ,g).
  2. For the second definition, we set u = g α u = g^{\alpha} u=gα. Left side = e ( u , g β ) = e ( g α , g β ) = e(u, g^{\beta}) = e(g^{\alpha}, g^{\beta}) =e(u,gβ)=e(gα,gβ). Right side = e ( u β , g ) = e ( g α β , g ) = e ( g γ , g ) = e(u^{\beta},g) = e(g^{\alpha \beta}, g) = e(g^{\gamma},g) =e(uβ,g)=e(gαβ,g)=e(gγ,g). Left side = = = Right side.

Protocol Details

  • Prover: ( β , ( u , v , w ) ) (\beta, (u, v, w)) (β,(u,v,w))
  • Verifier: ( u , v , w ) (u, v, w) (u,v,w)
  • The prover computes β t ← Z q \beta_t \leftarrow \mathbb{Z}_q βtZq, v t ← g β t v_t \leftarrow g^{{\beta}_t} vtgβt, w t ← u β t w_t \leftarrow u^{\beta_t} wtuβt and sends the commitment v t v_t vt and w t w_t wt to the verifier.
  • The verifier computes a random c c c and sends the challenge c c c to the prover.
  • The prover computes β z ← β t + β c \beta_z \leftarrow \beta_t + \beta c βzβt+βc sends the response β z \beta_z βz to the verifier.
  • The verifier checks if g β z = v t ⋅ v c g^{\beta_z} = v_t \cdot v^c gβz=vtvc and u β z = w t ⋅ w c u^{\beta_z}= w_t \cdot w^c uβz=wtwc. if so, the verifier outputs “accept”; otherwise, the verifier outputs “reject”.

在这里插入图片描述

Why is it correct?

Explanation: The correctness of the Chaum-Pedersen Protocol is established through two key checks. Firstly, the verification “ g β z = v t ⋅ v c g^{\beta_z} = v_t \cdot v^c gβz=vtvc” ensures that the correlation between v v v and β \beta β mirrors that of v t v^t vt and β t \beta^t βt. Similarly, the second verification “ u β z = w t ⋅ w c u^{\beta_z} = w_t \cdot w^c uβz=wtwc” confirms that the relationship between w w w and β \beta β aligns with that of w t w^t wt and β t \beta^t βt. Since the prover is assumed to be honest, the veracity of v t ← g β t v_t \leftarrow g^{\beta_t} vtgβt and w t ← u β t w_t \leftarrow u^{\beta_t} wtuβt holds. Consequently, the relationships among ( u , v , w ) (u, v, w) (u,v,w) are analogous, implying that ( u , v , w ) (u, v, w) (u,v,w) forms a DH-triple.

  • 7
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值