ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate...

140
Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University, Bangkok, Thailand

Transcript of ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate...

Page 1: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Zero-Knowledge Proof

MUIC January 30, 2019

Wutichai Chongchitmate

Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Bangkok, Thailand

Page 2: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

1. Zero-Knowledge Proofs

2. Applications

3. Limitations and Variants

Outline

Page 3: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Proof

x

Page 4: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Proof

πx Prove

Page 5: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Proof

πx Prove Verify {Accept

Reject

Page 6: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Proof

πx Prove Verify {Accept

Reject

→ 1

→ 0

P(x) V(x,π)

Page 7: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Proof

πx Prove Verify {Accept

Reject

→ 1

→ 0

P(x) V(x,π)

V(x,P(x)) = 1

⇔ x is true

Page 8: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Proof

πx Prove Verify {Accept

Reject

→ 1

→ 0

P(x) V(x,π)

Page 9: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Zero-Knowledge Proof

x

Page 10: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Zero-Knowledge Proof

π

x

Page 11: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Zero-Knowledge Proof

wreason why x is true

π

x

Page 12: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Zero-Knowledge Proof

wreason why x is true

RL(x,w) = 1

π

x

Page 13: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Zero-Knowledge Proof

wreason why x is true

RL(x,w) = 1 Probabilistic Polynomial Time (PPT)

π

x

Page 14: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Zero-Knowledge Proof

wreason why x is true

RL(x,w) = 1 Probabilistic Polynomial Time (PPT)

π

x

Page 15: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Zero-Knowledge Proof

wreason why x is true

RL(x,w) = 1 Probabilistic Polynomial Time (PPT)

π

x

w

Page 16: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Zero-Knowledge Proof

wreason why x is true

RL(x,w) = 1 Probabilistic Polynomial Time (PPT)

π

x

w

Page 17: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Zero-Knowledge Proof

wreason why x is true

RL(x,w) = 1

w?

Probabilistic Polynomial Time (PPT)

π

x

Page 18: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

NP Relation

Page 19: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

NP Relation

Relation RL X x W⊆

Page 20: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

NP Relation

Relation RL X x W

Language L = {x | ∃w, (x,w) ∈ RL}

Page 21: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

NP Relation

Relation RL X x W

Language L = {x | ∃w, (x,w) ∈ RL}

x

Page 22: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

NP Relation

Relation RL X x W

Language L = {x | ∃w, (x,w) ∈ RL}

x

w such that (x,w) ∈ RL

Page 23: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

NP Relation

Relation RL X x W

Language L = {x | ∃w, (x,w) ∈ RL}

x

Difficult

w such that (x,w) ∈ RL

Page 24: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

NP Relation

Relation RL X x W

Language L = {x | ∃w, (x,w) ∈ RL}

x

Difficult

w such that (x,w) ∈ RL

(x,w)

Page 25: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

NP Relation

Relation RL X x W

Language L = {x | ∃w, (x,w) ∈ RL}

x

Difficult

w such that (x,w) ∈ RL

(x,w)

{1 if (x,w) ∈ RL

0 if (x,w) ∈ RL/

Page 26: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

NP Relation

Relation RL X x W

Language L = {x | ∃w, (x,w) ∈ RL}

x

Difficult

w such that (x,w) ∈ RL

(x,w)

{1 if (x,w) ∈ RL

Efficient

0 if (x,w) ∈ RL/

Page 27: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

NP Relation

Relation RL X x W

Language L = {x | ∃w, (x,w) ∈ RL}

RL(x,w) = 1

x

Difficult

w such that (x,w) ∈ RL

(x,w)

{1 if (x,w) ∈ RL

Efficient

0 if (x,w) ∈ RL/

Page 28: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

NP Relation

Relation RL X x W

Language L = {x | ∃w, (x,w) ∈ RL}

RL(x,w) = 1

x

Difficult

w such that (x,w) ∈ RL

(x,w)

{1 if (x,w) ∈ RL

Efficient

0 if (x,w) ∈ RL/

Assume P NP≠

Page 29: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Interactive (Probabilistic) Proof [Goldwasser, Micali, Rackoff ’85]

P(Prover)

V(Verifier)

m1

m2

m3

mr

P ↔ V

/

x

Page 30: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Interactive (Probabilistic) Proof [Goldwasser, Micali, Rackoff ’85]

P(Prover)

V(Verifier)

m1

m2

m3

mr

⋮{1

0

P ↔ V

/

x

Page 31: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Interactive (Probabilistic) Proof [Goldwasser, Micali, Rackoff ’85]

P(Prover)

V(Verifier)

m1

m2

m3

mr

⋮{1

0

V(x,P(x)) = 1

⇔ x is true

P ↔ V

/

x

Page 32: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Interactive (Probabilistic) Proof [Goldwasser, Micali, Rackoff ’85]

P(Prover)

V(Verifier)

m1

m2

m3

mr

⋮{1

0

V(x,P(x)) = 1

⇔ x is true

P ↔ V

x ∈ L/

x

Page 33: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Interactive (Probabilistic) Proof [Goldwasser, Micali, Rackoff ’85]

P(Prover)

V(Verifier)

m1

m2

m3

mr

⋮{1

0

Completeness: x ∈ L ⇒ Pr[V → 1] > 1-ε

P ↔ V

Soundness: x ∈ L ⇒ Pr[V → 1] < ε/

x

Page 34: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Interactive (Probabilistic) Proof [Goldwasser, Micali, Rackoff ’85]

P(Prover)

V(Verifier)

m1

m2

m3

mr

⋮{1

0

Completeness: x ∈ L ⇒ Pr[V → 1] > 1-ε

P ↔ V

Soundness: x ∈ L ⇒ Pr[V → 1] < ε/

negligible

x

Page 35: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Interactive (Probabilistic) Proof [Goldwasser, Micali, Rackoff ’85]

P(Prover)

V(Verifier)

m1

m2

m3

mr

⋮{1

0

Completeness: x ∈ L ⇒ Pr[V → 1] > 1-ε

P ↔ V

Soundness: x ∈ L ⇒ Pr[V → 1] < ε/

negligible

∀c>0 ∀k > k0, ε(k)<1/kc

x

Page 36: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Interactive (Probabilistic) Proof [Goldwasser, Micali, Rackoff ’85]

P(Prover)

V(Verifier)

m1

m2

m3

mr

⋮{1

0

Completeness: x ∈ L ⇒ Pr[V → 1] > 1-ε

P ↔ V

Soundness: x ∈ L ⇒ Pr[V → 1] < ε/

negligible

∀c>0 ∀k > k0, ε(k)<1/kc

security parameterx

Page 37: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Interactive (Probabilistic) Proof [Goldwasser, Micali, Rackoff ’85]

P(Prover)

V(Verifier)

m1

m2

m3

mr

⋮{1

0

Completeness: x ∈ L ⇒ Pr[V → 1] > 1-ε

P ↔ V

Soundness: x ∈ L ⇒ Pr[V → 1] < ε/

x

Page 38: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 1

Page 39: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 1

Page 40: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 1

?

Page 41: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 1

Page 42: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 1

Page 43: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 1

Page 44: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 1

🤨

Page 45: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 1

/

Page 46: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 1

/

Page 47: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 1

/

Page 48: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 1

/

Page 49: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 1

/

⇔?

Page 50: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 1

Yes

/

⇔?

Page 51: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 1

x20

/

Page 52: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 1

x20

/

Page 53: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 1

x20

/

No⇔?

Page 54: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 1

x20Completeness: x ∈ L ⇒ Pr[V → 1] = 1

/

No

Page 55: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 1

x20Completeness: x ∈ L ⇒ Pr[V → 1] = 1

Soundness: x ∈ L ⇒ Pr[V → 1] = 1/220/

Page 56: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 1

x20Completeness: x ∈ L ⇒ Pr[V → 1] = 1

Soundness: x ∈ L ⇒ Pr[V → 1] = 1/220

≈1/1000000

/

Page 57: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 1

x20Completeness: x ∈ L ⇒ Pr[V → 1] = 1

Soundness: x ∈ L ⇒ Pr[V → 1] = 1/220

≈1/1000000

/

Page 58: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 1

x20Completeness: x ∈ L ⇒ Pr[V → 1] = 1

Soundness: x ∈ L ⇒ Pr[V → 1] = 1/220

?

/

Page 59: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Zero-Knowledge Proof

P V

m1

m2

m3

mr

⋮{1

0

{1

0

Page 60: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Zero-Knowledge Proof

P V

m1

m2

m3

mr

⋮{1

0

P(x,w) ↔ V(x) = {1

0

Page 61: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Zero-Knowledge Proof

P V

m1

m2

m3

mr

⋮{1

0

P(x,w) ↔ V(x) =

w?

{1

0

Page 62: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Zero-Knowledge

P V

m1

m2

m3

mr

Page 63: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Zero-Knowledge

P V

m1

m2

m3

mr

m1

m2

m3

mr

VP

Page 64: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Zero-Knowledge

V

m1

m2

m3

mr

VP

Page 65: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Zero-Knowledge

S(Simulator)

V

Page 66: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Zero-Knowledge

S(Simulator)

V

m1

m2

m3

mr

V

Page 67: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Zero-Knowledge

m1

m2

m3

mr

VP

S(Simulator)

V

m1

m2

m3

mr

V

Page 68: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Zero-Knowledge

m1

m2

m3

mr

VP

S(Simulator)

V

m1

m2

m3

mr

V

≃ =≃s ≃c

Page 69: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Zero-Knowledge

m1

m2

m3

mr

VP

S(Simulator)

V

m1

m2

m3

mr

V

≃ =≃s ≃c

Efficient

Page 70: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Zero-Knowledge

m1

m2

m3

mr

VP

S(Simulator)

V

m1

m2

m3

mr

V

≃ =≃s ≃c

Efficient

Page 71: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Interactive Proof: (P,V) V ∈ PPT

Formal Definitions

Completeness: ∀(x,w) ∈ RL, Pr[P(x,w) ↔ V(x) = 1] > 1-ε

Soundness: ∀x ∈ L,∀P*, Pr[P*(x) ↔ V(x) = 1] < ε/

Page 72: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Zero-Knowledge Proof [GMR85]

Interactive Proof: (P,V) V ∈ PPT

Formal Definitions

Completeness: ∀(x,w) ∈ RL, Pr[P(x,w) ↔ V(x) = 1] > 1-ε

Soundness: ∀x ∈ L,∀P*, Pr[P*(x) ↔ V(x) = 1] < ε/

Zero-Knowledge: ∀V* ∈ PPT,∃SV*∈ PPT, View(P(x,w) ↔ V*(x)) ≃ SV*(x)

Page 73: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 2: Graph 3-Colorability

P V

Page 74: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 2: Graph 3-Colorability

P V

Page 75: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 2: Graph 3-Colorability

P V

Page 76: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 2: Graph 3-Colorability

P V

Commitment

Page 77: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 2: Graph 3-Colorability

P V

AB

Page 78: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 2: Graph 3-Colorability

P V

AB

Page 79: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 2: Graph 3-Colorability

P V

repeat N times

Page 80: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 2: Graph 3-Colorability

P V

repeat N times

Page 81: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 2: Graph 3-Colorability

P V

repeat N times

Page 82: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 2: Graph 3-Colorability

P V

BC

repeat N times

Page 83: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 2: Graph 3-Colorability

P V

BC

repeat N times

Page 84: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 2: Graph 3-Colorability

P V

/

Page 85: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 2: Graph 3-Colorability

P V

Completeness: x ∈ L ⇒ Pr[V → 1] = 1

/

Page 86: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 2: Graph 3-Colorability

P V

Completeness: x ∈ L ⇒ Pr[V → 1] = 1

/

Page 87: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 2: Graph 3-Colorability

P V

CE

Completeness: x ∈ L ⇒ Pr[V → 1] = 1

/

Page 88: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 2: Graph 3-Colorability

P V

Completeness: x ∈ L ⇒ Pr[V → 1] = 1

/

reject

Page 89: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 2: Graph 3-Colorability

P V

Completeness: x ∈ L ⇒ Pr[V → 1] = 1

Soundness: x ∈ L ⇒ Pr[V → 1] = (|E|-1/|E|)N/

Page 90: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 2: Graph 3-Colorability

P V

Page 91: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Example 2: Graph 3-Colorability

P V

3-Colorability

Page 92: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

NP-Complete and NP Reduction

source: https://en.wikipedia.org/wiki/NP-hardness

Page 93: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

NP-Complete and NP Reduction

source: https://en.wikipedia.org/wiki/NP-hardness

Algorithm A solving NP-Hard Problem

Page 94: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

NP-Complete and NP Reduction

source: https://en.wikipedia.org/wiki/NP-hardness

Algorithm A solving NP-Hard Problem

Algorithm B solving NP Problem using A in polynomial steps

Page 95: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

NP-Complete and NP Reduction

source: https://en.wikipedia.org/wiki/NP-hardness

Algorithm A solving NP-Hard Problem

Algorithm B solving NP Problem using A in polynomial steps

• Graph Coloring• Hamiltonian Path/Cycle• Subgraph Isomorphism• Boolean Satisfiability• etc.

Page 96: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Non-Interactive Zero-Knowledge Proof (NIZK)

P V

Page 97: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Non-Interactive Zero-Knowledge Proof (NIZK)

P V

π

Page 98: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Non-Interactive Zero-Knowledge Proof (NIZK)

P V

π

Common Reference String (CRS)

01110011110000110101

Page 99: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Non-Interactive Zero-Knowledge Proof (NIZK)

P V

π

Common Reference String (CRS)

01110011110000110101

Hamiltonian Cycle Problem

Page 100: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

1. Zero-Knowledge Proofs

2. Applications

3. Limitations and Variants

Outline

Page 101: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Secure Authentication

ID, PWD

user server

Page 102: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Secure Authentication

ID, PWD

user server

ID, PWD

Page 103: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Secure Authentication

ID, PWD

user server

ID, PWD

Page 104: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Secure Authentication

ID, PWD

user server

ID, PWD

ID, PWD

Page 105: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Secure Authentication

ID, PWD

user server

ID, PWD

ID, PWD

ID, PWD

Page 106: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Secure Authentication

ID, PWD

user server

ID, π

Page 107: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Multi-party Computation (MPC)

Page 108: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Multi-party Computation (MPC)

x = 0

y = 0

majority(x,y,z)

Anonymous Voting

z = 1

Page 109: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Multi-party Computation (MPC)

x = 0

y = 0

majority(x,y,z)

Secure against semi-honest adversaries

Anonymous Voting

z = 1

Page 110: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Multi-party Computation (MPC)

x = 0

y = 0

majority(x,y,z)

Secure against semi-honest adversaries

Secure against malicious adversaries

Anonymous Voting

z = 1

Page 111: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Multi-party Computation (MPC)

x = 0

y = 0

majority(x,y,z)

Secure against semi-honest adversaries

Secure against malicious adversaries

Anonymous Voting

passive

z = 1

Page 112: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Multi-party Computation (MPC)

x = 0

y = 0

majority(x,y,z)

Secure against semi-honest adversaries

Secure against malicious adversaries

Anonymous Voting

passive

active

z = 1

Page 113: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Cryptocurrency

A pays 1 coin to B

Page 114: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Cryptocurrency

A pays 1 coin to B

Signed A

Page 115: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Cryptocurrency

A pays 1 coin to B

B pays 1 coin to C

Signed A

Page 116: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Cryptocurrency

A pays 1 coin to B

B pays 1 coin to C

Signed A

Signed B

Page 117: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Cryptocurrency

A pays 1 coin to B

Signed A

1323498

Page 118: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Cryptocurrency

A pays 1 coin to B

Signed A

1323498Signed B

Page 119: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Cryptocurrency

A pays 1 coin to B

Signed A

1323498Signed B

Page 120: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Cryptocurrency

A pays 1 coin to B

Signed A

1323498

6751323498

365

Signed B

Page 121: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Cryptocurrency

A pays 1 coin to B

Signed A

1323498

6751323498

365

1323498π

B pays to C Signed B

Signed B

Page 122: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Cryptocurrency

A pays 1 coin to B

Signed A

1323498

6751323498

365

1323498π

B pays to C Signed B

Signed B

∃ that opens one of the locks with serial

number 1323498

Page 123: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Cryptocurrency

A pays 1 coin to B

Signed A

1323498

6751323498

365

1323498π

B pays to C Signed B

Signed B

∃ that opens one of the locks with serial

number 1323498

B C( , 1323498)

Page 124: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Cryptocurrency

A pays 1 coin to B

Signed A

1323498

6751323498

365

1323498π

C pays to D Signed C

Signed B

B C( , 1323498)

Page 125: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

1. Zero-Knowledge Proofs

2. Applications

3. Limitations and Variants

Outline

Page 126: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

• Length of ZKP: number of bits communicated

• Number of rounds: assuming no setup

• Setup: Common Reference String, Tokens, Correlated Randomness, etc.

• Security Assumptions: One-way functions, Number Theory-based assumptions

Limitations

Page 127: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Variants of Zero-Knowledge Proof

Zero-Knowledge Proof

Completeness: ∀(x,w) ∈ RL, Pr[P(x,w) ↔ V(x) = 1] > 1-ε

Soundness: ∀x ∈ L,∀P*, Pr[P*(x) ↔ V(x) = 1] < ε/

Zero-Knowledge: ∀V* ∈ PPT,∃SV*∈ PPT, View(P(x,w) ↔ V*(x)) ≃ SV*(x)

Page 128: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Zero-Knowledge

• Zero-Knowledge: View(P(w),V*)(x) ≃ SV*(x)

• Perfect Zero-Knowledge: View(P(x,w) ↔ V*(x)) ≃ SV*(x)

• Statistical Zero-Knowledge: View(P(x,w) ↔ V*(x)) ≃s SV*(x)

• Computational Zero-Knowledge: View(P(x,w) ↔ V*(x)) ≃c SV*(x)

Zero-Knowledge: ∀V* ∈ PPT,∃SV*∈ PPT, View(P(x,w) ↔ V*(x)) ≃ SV*(x)

Page 129: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Zero-Knowledge

• Zero-Knowledge: View(P(w),V*)(x) ≃ SV*(x)

• Perfect Zero-Knowledge: View(P(x,w) ↔ V*(x)) ≃ SV*(x)

• Statistical Zero-Knowledge: View(P(x,w) ↔ V*(x)) ≃s SV*(x)

• Computational Zero-Knowledge: View(P(x,w) ↔ V*(x)) ≃c SV*(x)

Zero-Knowledge: ∀V* ∈ PPT,∃SV*∈ PPT, View(P(x,w) ↔ V*(x)) ≃ SV*(x)

statistically close

Page 130: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Zero-Knowledge

• Zero-Knowledge: View(P(w),V*)(x) ≃ SV*(x)

• Perfect Zero-Knowledge: View(P(x,w) ↔ V*(x)) ≃ SV*(x)

• Statistical Zero-Knowledge: View(P(x,w) ↔ V*(x)) ≃s SV*(x)

• Computational Zero-Knowledge: View(P(x,w) ↔ V*(x)) ≃c SV*(x)

Zero-Knowledge: ∀V* ∈ PPT,∃SV*∈ PPT, View(P(x,w) ↔ V*(x)) ≃ SV*(x)

computationally indistinguishable

Page 131: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Witness Indistinguishability (WI)

• Zero-Knowledge: View(P(w),V*)(x) ≃ SV*(x)

• Witness Indistinguishable: View(P(x,w1) ↔ V*(x)) ≃c View(P(x,w2) ↔ V*(x))

Zero-Knowledge: ∀V* ∈ PPT,∃SV*∈ PPT, View(P(x,w) ↔ V*(x)) ≃ SV*(x)

Page 132: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Witness Indistinguishability (WI)

• Zero-Knowledge: View(P(w),V*)(x) ≃ SV*(x)

• Witness Indistinguishable: View(P(x,w1) ↔ V*(x)) ≃c View(P(x,w2) ↔ V*(x))

Zero-Knowledge ⇒ Witness Indistinguishable

Zero-Knowledge: ∀V* ∈ PPT,∃SV*∈ PPT, View(P(x,w) ↔ V*(x)) ≃ SV*(x)

Page 133: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Soundness

• Interactive Proof• Soundness: If x not in L, then for any P*,

Pr[<P*,V>(x) = accept] = negl

• Interactive Argument: • Soundness: If x not in L, then for any efficient P*,

Pr[<P*,V>(x) = accept] = negl

Soundness: ∀x ∈ L,∀P*, Pr[P*(x) ↔ V(x) = 1] < ε

Soundness: ∀x ∈ L,∀P*∈PPT, Pr[P*(x) ↔ V(x) = 1] < ε

/

/

Page 134: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Soundness

• Interactive Proof• Soundness: If x not in L, then for any P*,

Pr[<P*,V>(x) = accept] = negl

• Interactive Argument: • Soundness: If x not in L, then for any efficient P*,

Pr[<P*,V>(x) = accept] = negl

Interactive Argument + ZK => Zero-Knowledge Argument

Soundness: ∀x ∈ L,∀P*, Pr[P*(x) ↔ V(x) = 1] < ε

Soundness: ∀x ∈ L,∀P*∈PPT, Pr[P*(x) ↔ V(x) = 1] < ε

/

/

Page 135: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Proof/Argument of Knowledge

• Proof of Knowledge (PoK): there exists an efficient extractor E such that for any P*, if <P*,V>(x) = accept, then Pr[EP*(x) is a witness for x] is close to 1

• Argument of Knowledge (AoK): same but for efficient P*Argument of Knowledge (AoK): ∃E ∈ PPT,∀P* ∈ PPT,

P*(x) ↔ V(x) = 1 ⇒ Pr[EP*(x) = w and (x,w) ∈ RL] > 1-ε

Proof of Knowledge (PoK): ∃E ∈ PPT,∀P*, P*(x) ↔ V(x) = 1 ⇒ Pr[EP*(x) = w and (x,w) ∈ RL] > 1-ε

Page 136: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Black-Box vs Non-Black-Box

Zero-Knowledge: ∀V* ∈ PPT,∃SV*∈ PPT, View(P(x,w) ↔ V*(x)) ≃ SV*(x)

Zero-Knowledge: ∃S∈ PPT,∀V* ∈ PPT, View(P(x,w) ↔ V*(x)) ≃ SV*(x)

Page 137: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Black-Box vs Non-Black-Box

Zero-Knowledge: ∀V* ∈ PPT,∃SV*∈ PPT, View(P(x,w) ↔ V*(x)) ≃ SV*(x)

Zero-Knowledge: ∃S∈ PPT,∀V* ∈ PPT, View(P(x,w) ↔ V*(x)) ≃ SV*(x)

non-black-box

Page 138: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Black-Box vs Non-Black-Box

Zero-Knowledge: ∀V* ∈ PPT,∃SV*∈ PPT, View(P(x,w) ↔ V*(x)) ≃ SV*(x)

Zero-Knowledge: ∃S∈ PPT,∀V* ∈ PPT, View(P(x,w) ↔ V*(x)) ≃ SV*(x)

non-black-box

may contain the code of V*

Page 139: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Black-Box vs Non-Black-Box

Zero-Knowledge: ∀V* ∈ PPT,∃SV*∈ PPT, View(P(x,w) ↔ V*(x)) ≃ SV*(x)

Zero-Knowledge: ∃S∈ PPT,∀V* ∈ PPT, View(P(x,w) ↔ V*(x)) ≃ SV*(x)

black-box (oracle) access

Page 140: ZK MUIC talk - MUIC Math · Zero-Knowledge Proof MUIC January 30, 2019 Wutichai Chongchitmate Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University,

Special Cases

• Σ-protocol (3-round with weaker version of argument of knowledge)

• ZAP (2-round resettably-sound resettable witness-indistinguishable proof)

• zkSNARK (Zero-Knowledge Succinct Non-Interactive Argument of Knowledge)