






















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!























Outline ZKIP Other IP
Lecture 19
Michael J. Fischer
Department of Computer Science Yale University
March 31, 2010
Outline ZKIP Other IP
(^1) Zero Knowledge Interactive Proofs Secret cave protocol ZKIP for graph isomorphism Abstraction from two ZKIP examples
(^2) Other Kinds of Interactive Proofs Interactive proof of graph non-isomorphism
A round of the simplified Feige-Fiat-Shamir protocol is an example of a so-called zero-knowledge interactive proof. These are protocols where Bob provably learns nothing about Alice’s secret. Here, “learns” means computational knowledge: Anything that Bob could have computed with the help of Alice he could have computed by himself without Alice’s help. We now consider zero knowledge proofs in greater detail.
There are three openings to the cave: L, C , and R. L and R are blocked by exit doors, like at a movie theater, which can be opened from the inside but are locked from the outside. The only way into the cave is through passage C. The cave itself consists of a U-shaped tunnel that runs between L and R. There is a locked door D in the middle of this tunnel, dividing it into a left part and a right part. A short tunnel from C leads to a pair of doors DL and DR through which one can enter left and right parts of the cave, respectively. These doors are also one-way doors that allow passage from C into either the left or right parts of the cave, but once one passes through, the door locks behind and one cannot return to C.
Alice approaches Bob, tells him that she has a key that opens door D, and offers to sell it to him. Bob would really like such a key, as he often goes into the cave to collect mushrooms and would like easy access to both sides of the cave without having to return to the surface to get into the other side. However, he doesn’t trust Alice that the key really works, and Alice doesn’t trust him with her key until she gets paid.
They think about this problem for awhile, and then Alice suggests, “Here’s an idea: I’ll enter the cave through door C , go into the left part of the cave, open D with my key, go through it into the right part of the cave, and then come out door R. When you see me come out R, you’ll know I’ve succeeded in opening the door.” Bob thinks about this and then asks, “How do I know you’ll go into the left part of the cave? Maybe you’ll just go into the right part and come out door R and never go through D.”
Alice says, “OK. I’ll go into either the left or right side of the cave. You’ll know I’m there because you’ll hear door DL or DR clank when it closes behind me. You then yell down into the cave which door you want me to come out—L or R—and I’ll do so. If I’m on the opposite side from what you request, then I’ll have no choice but to unlock D in order to pass through to the other side.”
Two undirected graphs G and H are said to be isomorphic if there exists a bijection π from vertices of G to vertices of H that preserves edges. That is, {x, y } is an edge of G iff {π(x), π(y )} is an edge of H. No known polynomial time algorithm decides, given two graphs G and H, whether they are isomorphic, but this problem is also not known to be NP-hard. It follows that there is no known polynomial time algorithm for finding the isomorphism π given two isomorphic graphs G and H. Why?
Alice Bob
The protocol is similar to the simplified Feige-Fiat-Shamir protocol If both Alice and Bob follow this protocol, Bob’s check always succeeds. When b = 0, Alice send τ in step 3, and Bob checks that τ is an isomorphism from G 0 to H. When b = 1, the function σ that Alice computes is an isomorphism from G 1 to H. This is because π−^1 is an isomorphism from G 1 to G 0 and τ is an isomorphism from G 0 to H. Composing them gives an isomorphism from G 1 to H, so again Bob’s check succeeds.
We have seen two examples of zero knowledge interactive proofs of knowledge of a secret. In the simplified Feige-Fiat-Shamir authentication scheme, Alice’s secret is a square root of v. In the graph isomorphism protocol, her secret is the isomorphism π. In both cases, the protocol has the form that Alice sends Bob a “commitment” string x, Bob sends a query bit b, and Alice replies with a response yb. Bob then checks the triple (x, b, yb) for validity.
In both protocols, neither triple (x, 0 , y 0 ) nor (x, 1 , y 1 ) alone give any information about Alice’s secret, but y 0 and y 1 can be combined to reveal her secret. In the FFS protocol, y 1 y 0 − 1 mod n is a square root of v −^1. (Note: Since v −^1 has four square roots, the revealed square root might not be the same as Alice’s secret, but it is equally valid as a means of impersonating Alice.) In the graph isomorphism protocol, y 1 − 1 ◦ y 0 is an isomorphism mapping G 0 to G 1.