Question

This question is on coin flips. Recall that this is done as follows. Alice picks two...

This question is on coin flips. Recall that this is done as follows. Alice picks two primes p, q and n = p · q. Bob sends to Alice x^2 mod n for some random x. Recall that there are some 4 solutions +a, −a, +b, −b, with either a or b equaling x. Alice sends to Bob either a or b. Say for example that x = a. If Bob gets b he can factor n so he wins but if he gets a he can not factor n so Alice wins.

1. Say that Alice cheats and uses p = q. Show that Bob always loses in the coin flip

2. What should Bob ask Alice after some games he loses (and starts to suspect) to reveal so he can prove Alice as a cheater?

Homework Answers

Answer #1

1. If Alice chooses the same prime, then the 4 solutions all correspond to the factor x and hence whatever number Alice sends to Bob, Bob can't factor the number (This is because all are quadratic residues of x and when the primes were different one of them corresponded to x, and the other to one of the primes. If both the primes are the same, then the prime information gets erased in favour of the number Bob randomly chooses).

2. Bob should just ask Alice to send the number of distinct primes she is using. Since it will be 1, she's caught.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Determine whether the following are binomial experiments. If not, explain which requirement is violated. If so,...
Determine whether the following are binomial experiments. If not, explain which requirement is violated. If so, state the distribution of the random variable in the scenario. A) Bob is playing a game at a carnival where he gets to play until he loses. The probability that he wins the game is 0.25. Assume he does not get better each better each time he plays. Let X count the number of games that Bob wins. B) Charlie flips a coin three...
Chapter 1: Bob becomes a real estate investor It is November 2007 and the economy of...
Chapter 1: Bob becomes a real estate investor It is November 2007 and the economy of Bob is a recent art school graduate working as an actor on a new Tyler Perry movie. Bob got a wonderful 6 month contract with a 3 month advance on pay. After Bob’s second day of work he was getting gas and a new Ferrari pulled up in the next stall. Bob was amazed and started a conversation. It turns out the owner of...
It is a slow day at Bunsen Motors, so since he has his calculatorwarmed up, Clarence...
It is a slow day at Bunsen Motors, so since he has his calculatorwarmed up, Clarence Bunsen decides to study his expected utility functionmore closely. a)Clarence first thinks about really big gambles. What if he bet hisentire $10,000 on the toss of a coin, where he loses if heads and wins iftails? Then if the coin came up heads, he would have 0 dollars and if itcame up tails, he would have $20,000.His expected utility if he took thebet would...
Python Blackjack Game Here are some special cases to consider. If the Dealer goes over 21,...
Python Blackjack Game Here are some special cases to consider. If the Dealer goes over 21, all players who are still standing win. But the players that are not standing have already lost. If the Dealer does not go over 21 but stands on say 19 points then all players having points greater than 19 win. All players having points less than 19 lose. All players having points equal to 19 tie. The program should stop asking to hit if...
QUESTION 1 1. Brianna is trying to increase her chances of being promoted to vice president...
QUESTION 1 1. Brianna is trying to increase her chances of being promoted to vice president by working to build good work relationships with other managers outside her own department. Brianna's behavior should be viewed as dysfunctional politics. functional politics. coercive power. functional influence. 2 points QUESTION 2 1. The Gingerbread Factory has a separate unit that makes their chocolate crunch cookies and another unit that is completely responsible for all operations in producing their ginger snap cookies. The Gingerbread...
QUESTION 1 ? What is the relationship between family dysfunction and schizophrenia? a. ?Research has substantiated...
QUESTION 1 ? What is the relationship between family dysfunction and schizophrenia? a. ?Research has substantiated a link between family dysfunction and schizophrenia but can't say which causes the other. b. ?Family dysfunction is a major causative factor for schizophrenia. c. ?Research has failed to substantiate a direct causal link between family dysfunction and schizophrenia. d. ?Family dysfunction plays a minor role in developing schizophrenia. 1.00000 points    QUESTION 2 ? Chuck has no life plan; he simply lives from...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT