Docsity

Secret Splitting Bit Commitment Problem, Lecture Slide - Computer Science, Slides of Cryptography and System Security

Partial preview of the text

Download Secret Splitting Bit Commitment Problem, Lecture Slide - Computer Science and more Slides Cryptography and System Security in PDF only on Docsity!

Outline Secret splitting Bit commitment

CPSC 467b: Cryptography and Computer Security

Lecture 23

Michael J. Fischer

Department of Computer Science Yale University

April 14, 2010

Outline Secret splitting Bit commitment

(^1) Secret Splitting (continued) Secret Splitting with Dishonest Parties

(^2) Bit Commitment Problem Bit Commitment Using Symmetric Cryptography Bit Commitment Using Hash Functions Bit Commitment Using Pseudorandom Sequence Generators Formalization of Bit Commitment Schemes

Outline Secret splitting Bit commitment Dishonesty

Secret splitting with semi-honest parties

Shamir’s scheme is an example of a protocol that works assuming semi-honest parties. These are players that follow the protocol but additionally may collude in an attempt to discover secret information. We just saw that no coalition of fewer than τ players could learn anything about the dealer’s secret, even if they pooled all of their shares.

Outline Secret splitting Bit commitment Dishonesty

Secret splitting with dishonest dealer

In practice, either the dealer or some of the players (or both) may be dishonest and fail to follow the protocol. The honest players would like some guarantees even in such situations. A dishonest dealer can always lie about the true value of her secret. Even so, the honest players want assurance that their shares do in fact encode a unique secret, that is, all sets of τ shares reconstruct the same secret s. Shamir’s (τ, k) threshold scheme assumes that all shares lie on a single polynomial of degree at most k − 1. This might not hold if the dealer is dishonest and gives bad shares to some of the players. The players have no way to discover that they have bad shares until later when they try to reconstruct s.

Outline Secret splitting Bit commitment Dishonesty

Dishonest players

Dishonest players present another kind of problem. These are players that fail to follow the protocol. During the reconstruction phase, they may fail to supply their share, or they may present a (possibly different) corrupted share to each other player. With Shamir’s scheme, a share that just disappears does not prevent the secret from being reconstructed, as long as enough valid shares remain. But a player who lies about his share during the reconstruction phase can cause other players to reconstruct incorrect values for the secret.

Outline Secret splitting Bit commitment Dishonesty

Fault-tolerance in secret sharing protocols

A fault-tolerant secret sharing scheme should allow the secret to be correctly reconstructed, even in the face of a certain number of corrupted shares. Of course, it may be desirable to have schemes that can tolerate dishonesty in both dealer and a limited number of players. The interested reader is encouraged to explore the extensive literature on this subject.

Outline Secret splitting Bit commitment From crypto From hash From PSRG Formalization

Bit guessing game

Alice and Bob want to play a guessing game over the internet. Alice says, “I’m thinking of a bit. If you guess my bit correctly, I’ll give you $10. If you guess wrong, you give me $10.” Bob says, “Ok, I guess zero.”

Alice replies, “Sorry, you lose. I was thinking of one.”

Outline Secret splitting Bit commitment From crypto From hash From PSRG Formalization

Preventing Alice from changing her mind

While this game may seem fair on the surface, there is nothing to prevent Alice from changing her mind after Bob makes his guess. Even if Alice and Bob play the game face to face, they still must do something to commit Alice to her bit before Bob makes his guess. For example, Alice might be required to write her bit down on a piece of paper and seal it in an envelope. After Bob makes his guess, he opens the envelope to know whether he won or lost. Writing down the bit commits Alice to that bit, even though Bob doesn’t learn its value until later.

Outline Secret splitting Bit commitment From crypto From hash From PSRG Formalization

Requirements for bit commitment

Alice and Bob do not trust each other, so each wants protection from cheating by the other. Alice wants to be sure that Bob cannot learn b after running commit(b), even if he cheats. Bob wants to be sure that all successful runs of open(c) reveal the same bit b′, no matter what Alice does.

Outline Secret splitting Bit commitment From crypto From hash From PSRG Formalization

Requirements for bit commitment

Alice and Bob do not trust each other, so each wants protection from cheating by the other. Alice wants to be sure that Bob cannot learn b after running commit(b), even if he cheats. Bob wants to be sure that all successful runs of open(c) reveal the same bit b′, no matter what Alice does. Note that we do not require that Alice tell the truth about her private bit b. A dishonest Alice can always pretend her bit was b′^6 = b when producing c. But if she does, c can only be opened to b′, not to b. These ideas should become clearer in the protocols below.

Outline Secret splitting Bit commitment From crypto From hash From PSRG Formalization

A na¨ıve approach to building a bit-commitment scheme

A na¨ıve way to use a symmetric cryptosystem for bit commitment is for Alice to encrypt b with a private key k to get blob c = Ek (b). She opens it by releasing k. Anyone can compute b = Dk (c). Alice can easily cheat if she can find a colliding triple (c, k 0 , k 1 ) with the property that Dk 0 (c) = 0 and Dk 1 (c) = 1. She “commits” by sending c to Bob. Later, she can choose to send Bob either k 0 or k 1. This isn’t just a hypothetical problem. Suppose Alice uses the most secure cryptosystem of all, a one-time pad, so Dk (c) = c ⊕ k. Then (c, c ⊕ 0 , c ⊕ 1) is a colliding triple.

Outline Secret splitting Bit commitment From crypto From hash From PSRG Formalization

Another attempt

The protocol below tries to make it harder for Alice to cheat by making it possible for Bob to detect most bad keys. Alice Bob To commit(b):

  1. ←−r Choose random string r.
  2. Choose random key k. Compute c = Ek (r · b). −→c c is commitment. To open(c):
  3. Send k. −→k Let r ′^ · b′^ = Dk (c). Check r ′^ = r. b′^ is revealed bit.

Outline Secret splitting Bit commitment From crypto From hash From PSRG Formalization

Need for a different approach

We see that not all secure cryptosystems have the properties we need in order to make the protocol secure. We need a property analogous to the strong collision-free property for hash functions (Lecture 15).

Outline Secret splitting Bit commitment From crypto From hash From PSRG Formalization

Bit Commitment Using Hash Functions