Zero-Knowledge Proofs

Slides:



Advertisements
Similar presentations
Statistical Zero-Knowledge Arguments for NP from Any One-Way Function Salil Vadhan Minh Nguyen Shien Jin Ong Harvard University.
Advertisements

On the Amortized Complexity of Zero-Knowledge Proofs Ronald Cramer, CWI Ivan Damgård, Århus University.
Efficient Signature Generation by Smart Cards Suk Ki Kim Sunyeong Kim.
Mental Poker The SRA Protocol. What is Mental Poker? Playing poker without cards (ie over telephone or internet). No Trusted Third Party or source of.
Protocols to do seemingly impossible 1 CHAPTER 10: Protocols to do seemingly impossible A protocol is an algorithm two (or more) parties have to follow.
Slide 1 Vitaly Shmatikov CS 380S Introduction to Zero-Knowledge.
Zero-Knowledge Proofs J.W. Pope M.S. – Mathematics May 2004.
Great Theoretical Ideas in Computer Science.
CS426Fall 2010/Lecture 351 Computer Security CS 426 Lecture 35 Commitment & Zero Knowledge Proofs.
1 Adapted from Oded Goldreich’s course lecture notes.
Zero Knowledge Proofs By Subha Rajagopalan Jaisheela Kandagal.
Introduction to Modern Cryptography Homework assignments.
Zero-Knowledge Proofs And Their Applications in Cryptographic Systems Sultan Almuhammadi ICS 454.
CMSC 414 Computer and Network Security Lecture 19 Jonathan Katz.
Introduction to Modern Cryptography, Lecture 7/6/07 Zero Knowledge and Applications.
CMSC 414 Computer and Network Security Lecture 6 Jonathan Katz.
Introduction to Modern Cryptography, Lecture 9 More about Digital Signatures and Identification.
Zero-Knowledge Proofs And Their Applications in Cryptographic Systems ICS 555 Cryptography and Data Security Sultan Almuhammadi.
Lecture 12 Commitment Schemes and Zero-Knowledge Protocols Stefan Dziembowski University of Rome La Sapienza critto09.googlepages.com.
Lecture 6: Public Key Cryptography
Quadratic Residuosity and Two Distinct Prime Factor ZK Protocols By Stephen Hall.
Impossibility and Feasibility Results for Zero Knowledge with Public Keys Joël Alwen Tech. Univ. Vienna AUSTRIA Giuseppe Persiano Univ. Salerno ITALY Ivan.
Great Theoretical Ideas in Computer Science.
1 SC700 A2 Internet Information Protocols 3/20/2001 Paper Presentation by J. Chu How to Explain Zero-Knowledge Protocols to Your Children.
Fall 2004/Lecture 201 Cryptography CS 555 Lecture 20-b Zero-Knowledge Proof.
Based on Schneier Chapter 5: Advanced Protocols Dulal C. Kar.
CS151 Complexity Theory Lecture 13 May 11, Outline proof systems interactive proofs and their power Arthur-Merlin games.
Topic 23: Zero-Knowledge Proof and Cryptographic Commitment
Introduction to Modern Cryptography Sharif University Spring 2015 Data and Network Security Lab Sharif University of Technology Department of Computer.
Zero-Knowledge Proofs And Their Applications in Cryptographic Systems ICS 555 Cryptography and Data Security Sultan Almuhammadi.
Flipping coins over the telephone and other games.
Zero-knowledge proof protocols 1 CHAPTER 12: Zero-knowledge proof protocols One of the most important, and at the same time very counterintuitive, primitives.
Zero Knowledge Proofs Matthew Pouliotte Anthony Pringle Cryptography November 22, 2005 “A proof is whatever convinces me.” -~ Shimon Even.
1 Diffie-Hellman (Key Exchange) Protocol Rocky K. C. Chang 9 February 2007.
July 8, 2004 IEEE - CEC '041 Better Privacy and Security in E-Commerce: Using Elliptic Curve-Based Zero-Knowledge Proofs Sultan Almuhammadi Nien Sui Dennis.
1 Diffie-Hellman (Key Exchange) Protocol Rocky K. C. Chang 9 February 2007.
 5.1 Zero-Knowledge Proofs  5.2 Zero-Knowledge Proofs of Identity  5.3 Identity-Based Public-Key Cryptography  5.4 Oblivious Transfer  5.5 Oblivious.
1 Introduction to Quantum Information Processing QIC 710 / CS 667 / PH 767 / CO 681 / AM 871 Richard Cleve DC 2117 Lectures
Zero-Knowledge Proofs Ben Hosp. Classical Proofs A proof is an argument for the truth or correctness of an assertion. A classical proof is an unambiguous.
Key Exchange in Systems VPN usually has two phases –Handshake protocol: key exchange between parties sets symmetric keys –Traffic protocol: communication.
Lecture 5 Asymmetric Cryptography. Private-Key Cryptography Traditional private/secret/single key cryptography uses one key Shared by both sender and.
MA/CSSE 473 Day 9 Primality Testing Encryption Intro.
Feige-Fiat-Shamir Zero Knowledge Proof Based on difficulty of computing square roots mod a composite n Given two large primes p, q and n=p * q, computing.
What is in a name? Identity-based cryptography. How public-key crypto works When you use public key cryptography, you can publish a value (public key)
IP, (NON)ISOGRAPH and Zero Knowledge Protocol COSC 6111 Advanced Algorithm Design and Analysis Daniel Stübig.
CRYPTOGRAPHY COT 6410 AWRAD MOHAMMED ALI NESLISAH TOROSDAGLI JOSIAH WONG.
Topic 36: Zero-Knowledge Proofs
Outline Primitive Element Theorem Diffie Hellman Key Distribution
Thinking the Impossible “Modern Cryptography”
Probabilistic Algorithms
On the Size of Pairing-based Non-interactive Arguments
Prelude to Public-Key Cryptography
Advanced Algorithms Analysis and Design
Zero Knowledge Anupam Datta CMU Fall 2017
Coin Flipping Protocol
Interactive Proofs Adapted from Oded Goldreich’s course lecture notes.
Zero-Knowledge Proofs
CHAPTER 10: Protocols to do seemingly impossible
Masayuki Fukumitsu Hokkaido Information University, Japan
Hash Functions Motivation Hash Functions: collision, pre-images SHA-1
Fiat-Shamir for Highly Sound Protocols is Instantiable
Interactive Proofs Adapted from Oded Goldreich’s course lecture notes.
Interactive Proofs Adapted from Oded Goldreich’s course lecture notes.
Introduction to Modern Cryptography
CSCI284 Spring 2009 GWU Sections 5.1, 5.2.2, 5.3
One Way Functions Motivation Complexity Theory Review, Motivation
Cryptology Design Fundamentals
Public-Key Cryptography Quadratic Residues and „Rabin Lock“
Interactive Proofs Adapted from Oded Goldreich’s course lecture notes.
Presentation transcript:

Zero-Knowledge Proofs

What is a Zero- Knowledge Proof? A zero-knowledge proof is a way that a “prover” can prove possession of a certain piece of information to a “verifier” without revealing it. This is done by manipulating data provided by the verifier in a way that would be impossible without the secret information in question. A third party, reviewing the transcript created, cannot be convinced that either prover or verifier knows the secret.

The Cave of the Forty Thieves

The Cave of the Forty Thieves

Properties of Zero-Knowledge Proofs Completeness – A prover who knows the secret information can prove it with probability 1. Soundness – The probability that a prover who does not know the secret information can get away with it can be made arbitrarily small.

An Example: Hamiltonian Cycles Peggy the prover would like to show Vic the verifier that an element b is a member of the subgroup of Zn* generated by a, where a has order l. (i.e., does ak = b for some k such that 0 ≤ k ≤ l?) Peggy chooses a random j, 0 ≤ j ≤ l – 1, and sends Vic aj. Vic chooses a random i = 0 or 1, and sends it to Peggy. Peggy computes j + ik mod l, and sends it to Vic. Vic checks that aj + ik = ajaik = ajbi. They then repeat the above steps log2n times. If Vic’s final computation checks out in each round, he accepts the proof.

Complexity Theory The last proof works because the problem of solving discrete logarithms is NP-complete (or is believed to be, at any rate). It has been shown that all problems in NP have a zero-knowledge proof associated with them.

Bit Commitments “Flipping a coin down a well” “Flipping a coin by telephone” A value of 0 or 1 is committed to by the prover by encrypting it with a one-way function, creating a “blob”. The verifier can then “unwrap” this blob when it becomes necessary by revealing the key.

Bit Commitment Properties Concealing – The verifier cannot determine the value of the bit from the blob. Binding – The prover cannot open the blob as both a zero and a one.

Bit Commitments: An Example Let n = pq, where p and q are prime. Let m be a quadratic nonresidue modulo n. The values m and n are public, and the values p and q are known only to Peggy. Peggy commits to the bit b by choosing a random x and sending Vic the blob mbx2. When the time comes for Vic to check the value of the bit, Peggy simply reveals the values b and x. Since no known polynomial-time algorithm exists for solving the quadratic residues problem modulo a composite n whose factors are unknown, hence this scheme is computationally concealing. On the other hand, it is perfectly binding, since if it wasn’t, m would have to be a quadratic residue, a contradiction.

Bit Commitments and Zero-Knowledge Bit commitments are used in zero-knowledge proofs to encode the secret information. For example, zero-knowledge proofs based on graph colorations exist. In this case, bit commitment schemes are used to encode the colors. Complex zero-knowledge proofs with large numbers of intermediate steps that must be verified also use bit commitment schemes.

Computational Assumptions A zero-knowledge proof assumes the prover possesses unlimited computational power. It is more practical in some cases to assume that the prover’s computational abilities are bounded. In this case, we have a zero-knowledge argument.

Proof vs. Argument Zero-Knowledge Proof: Unconditional completeness Unconditional soundness Computational zero-knowledge Unconditionally binding blobs Computationally concealing blobs Zero-Knowledge Argument: Unconditional completeness Computational soundness Perfect zero-knowledge Computationally binding blobs Unconditionally concealing blobs

Applications Zero-knowledge proofs can be applied where secret knowledge too sensitive to reveal needs to be verified Key authentication PIN numbers Smart cards

Limitations A zero-knowledge proof is only as good as the secret it is trying to conceal Zero-knowledge proofs of identities in particular are problematic The Grandmaster Problem The Mafia Problem etc.

Research I am currently working with Dr. Curtis Barefoot in the NMT Mathematics Dept. on methods of applying zero-knowledge proofs to mathematical induction: Can a prover prove a theorem via induction without revealing any of the steps beyond the base case? Possible application of methods developed by Camenisch and Michels (or maybe not?)

References Blum, M., “How to Prove a Theorem So No One Else Can Claim It”, Proceedings of the International Congress of Mathematicians, Berkeley, California, 1986, pp. 1444-1451 Camenisch, J., M. Michels, “Proving in Zero-Knowledge that a Number is the Product of Two Safe Primes”, Eurocrypt ’99, J. Stern, ed., Lecture Notes in Computer Science 1592, pp. 107-122, Springer-Verlag 1999 Cramer, R., I. Dåmgard, B. Schoenmakers, “Proofs of Partial Hiding and Simplified Design of Witness Hiding Protocols”, Advances in Cryptology – CRYPTO ’94, Lecture Notes in Computer Science 839, pp. 174-187, Springer-Verlag, 1994 De Santis, A., G. di Crescenzo, G. Persiano, M. Yung, “On Monotone Formula Closure of SZK”, Proceedings of the 35th Symposium on the Foundations of Computer Science, pp. 454-465, IEEE, 1994 Feigenbaum, J., “Overview of Interactive Proof Systems and Zero-Knowledge”, Contemporary Cryptology, G.J. Simmons, ed., pp. 423-440, IEEE Press 1992 Quisquater, J.J., L. Guillou, T. Berson, “How to Explain Zero-Knowledge Protocols to Your Children”, Advances in Cryptology - CRYPTO ’99, Lecture Notes in Computer Science 435, pp. 628-631, 1990 Schneier, B., Applied Cryptography (2nd edition), Wiley, 1996 Stinson, D.R., Cryptography: Theory and Practice, CRC, 1995