Live data from Hacker News

Understanding Zero-knowledge proofs through illustrated examples

blog.goodaudience.com

21–30 of 86 posts

Re: Understanding Zero-knowledge proofs through illustrated examples

#21
post #7

Does anyone know if all provable things are zero-knowledge provable? As an example: given a chess position, would you be able to construct a zero-knowledge proof that you can force checkmate in N moves or less without revealing anything about the particular moves involved? If so, what would such a proof look like?

"I am the Lord thy God!" - God

"Prove it!" - Me

"aec070645fe53ee3b3763059376134f058cc337247c978add178b6ccdfb0019f" - God

Re: Understanding Zero-knowledge proofs through illustrated examples

#22
post #20

I'm not an expert, but coming from a logic background, I always think that ZK proofs are fudging the idea of "completeness" (and "soundness," for that matter). For example, in [1] (Definition 1.1): > We note that the constants 2/3 and 1/3 are arbitrarily chosen for simplicity. We can always amplify the completeness probability to 1 − negl(λ) and the soundness probability to negl(λ) with repetition. But that's not com…

Hence why this is a completeness "probability". In practice this is fine as alternative mechanisms to prove such things as identity involve mechanisms like signatures and hashes, which also can be guessed.

Re: Understanding Zero-knowledge proofs through illustrated examples

#23
post #8

Earlier quoted context omitted.

The main type of zero-knowledge proofs are a subset (potentially proper subset) of interactive proofs. All problems that have an interactive proof form a complexity class called IP, and IP is currently believed to be a subset of PSPACE. So no, not all provable statements are zero-knowledge provable if by zero-knowledge proof you mean an interactive proof where no information is transferred. Of course it's possible th…

> IP is currently believed to be a subset of PSPACE. IP is _known_ to be _equal_ to PSPACE

Well there you go, Wikipedia confirms that IP = PSPACE, and furthermore that if some assumptions hold about one-way functions, then zero knowledge IP = IP = PSPACE.

Thanks for your correction.

https://en.wikipedia.org/wiki/IP_(complexity)

Re: Understanding Zero-knowledge proofs through illustrated examples

#24
In the Waldo example, if Bob has watermarked the back of the puzzle and Alice shows him the cutout Waldo, what prevents Bob from comparing the portion of the watermark on the back of the cutout Waldo (provided by Alice) with the original watermark (say Bob chose the watermark to be a grid of cells where each cell is trivially identifiable and small enough to be contained on the back of the cutout), thus deriving Waldo’s location?

Re: Understanding Zero-knowledge proofs through illustrated examples

#26
post #24

In the Waldo example, if Bob has watermarked the back of the puzzle and Alice shows him the cutout Waldo, what prevents Bob from comparing the portion of the watermark on the back of the cutout Waldo (provided by Alice) with the original watermark (say Bob chose the watermark to be a grid of cells where each cell is trivially identifiable and small enough to be contained on the back of the cutout), thus deriving Wald…

Alice should properly reject that proposal, and only accept pages with totally uniform watermarks.

Re: Understanding Zero-knowledge proofs through illustrated examples

#28
post #24

In the Waldo example, if Bob has watermarked the back of the puzzle and Alice shows him the cutout Waldo, what prevents Bob from comparing the portion of the watermark on the back of the cutout Waldo (provided by Alice) with the original watermark (say Bob chose the watermark to be a grid of cells where each cell is trivially identifiable and small enough to be contained on the back of the cutout), thus deriving Wald…

Alice should properly reject that proposal, and only accept pages with totally uniform watermarks.

So in essence, Alice must also verify that, for any given puzzle, it has been constructed in a way such that Bob cannot discern the information that is intended to be private? That sounds problematic for general public Alice and clever trickster Bob scenarios, which I suspect would be a common use case. What’s the solution, an oligopoly of Proof Authorities?

Re: Understanding Zero-knowledge proofs through illustrated examples

#29
post #27

In the sudoku exapmle how can Bob be sure that the three face down cards in a cell are three identcal card? Without this knowledge, it is easy to pass the final validations without a correct solution.

Each pile has three solutions in it, and you're asking how we know that all three solutions align to the same number, as required by Sudoku.

> Starting with each row, Bob randomly chooses one card in each cell, from the top, the middle, or the bottom

The random assignment of solutions from each pile to each of the three problems means that the only way to consistently pass the test is to have the three solutions in each pile be identical.

Re: Understanding Zero-knowledge proofs through illustrated examples

#30
post #27

In the sudoku exapmle how can Bob be sure that the three face down cards in a cell are three identcal card? Without this knowledge, it is easy to pass the final validations without a correct solution.

The machine itself would ideally not be a black box, so Bob could verify that the machine places 3 identical cards
Post reply on HN