Socialist millionaire

Socialist millionaire

The Socialist Millionaire Problemcite conference
author = M. Jakobsson, M. Yung
title = Proving without knowing: On oblivious, agnostic and blindfolded provers.
booktitle = Advances in Cryptology - CRYPTO '96, volume 1109 of Lecture Notes in Computer Science
pages = 186-200
date = 1996
location = Berlin
] , is one in which two millionaires want to determine if their wealth is equal, without disclosing any information about their riches to each other. It is a variant of the Millionaire's Problemcite conference
author = A. Yao
title = Protocols for secure communications
booktitle = Proc. 23rd IEEE Symposium on Foundations of Computer Science (FOCS '82)
pages = 160-164
date = 1982
] cite conference
author A. Yao
title = How to generate and exchange secrets
booktitle = Proc. 27th IEEE Symposium on Foundations of Computer Science (FOCS '86)
pages = 162-167
date = 1986
] whereby two millionaires wish to compare their riches to determine who has the most wealth, without disclosing any information about their riches to each other.

It is often used as a cryptographic protocol that allows two parties to verify the identity of the remote party through the use of a shared secret, avoiding a man in the middle attack without the inconvenience of manually comparing public key fingerprints through an outside channel. In effect a relatively weak password/passphrase in natural language can be used. Brute force attacks are avoided by demanding user input on both sides prior to the check itself.

This protocol is used as part of Off-the-Record Messaging.

Example

While data messages are being exchanged, either Alice or Bob may run Socialist Milllionaire Protocol (SMP) to detect impersonation or man-in-the-middle attacks. All exponentiations are done modulo a particular 1536-bit prime, and g1 is a generator of that group. All sent values include zero-knowledge proofs that they were generated according to this protocol, as indicated in the detailed description below.

Suppose Alice and Bob have secret information x and y respectively, and they wish to know whether x equals y. The Socialist Millionaires' Protocol allows them to compare x and y without revealing any information other than whether x and y are equal. For OTR, the secrets contain information about both parties' long-term authentication public keys, as well as information entered by the users themselves. If x equals y, this means that Alice and Bob entered the same secret information, and so must be the same entities who established that secret to begin with.

Assuming that Alice begins the exchange: * Alice: 1. Picks random exponents a2 and a3 2. Sends Bob g2a = g1a2 and g3a = g1a3 * Bob: 1. Picks random exponents b2 and b3 2. Computes g2b = g1b2 and g3b = g1b3 3. Computes g2 = g2ab2 and g3 = g3ab3 4. Picks random exponent r 5. Computes Pb = g3r and Qb = g1r g2y 6. Sends Alice g2b, g3b, Pb and Qb * Alice: 1. Computes g2 = g2ba2 and g3 = g3ba3 2. Picks random exponent s 3. Computes Pa = g3s and Qa = g1s g2x 4. Computes Ra = (Qa / Qb)a3 5. Sends Bob Pa, Qa and Ra * Bob: 1. Computes Rb = (Qa / Qb)b3 2. Computes Rab = Rab3 3. Checks whether Rab equals (Pa / Pb) 4. Sends Alice Rb * Alice: 1. Computes Rab = Rba3 2. Checks whether Rab equals (Pa / Pb) If everything is done correctly, then Rab should hold the value of (Pa / Pb) times (g2a3b3)(x - y), which means that the test at the end of the protocol will only succeed if x equals y. Further, since g2a3b3 is a random number not known to any party, if x is not equal to y, no other information is revealed.

References

See also

* Off-the-Record Messaging

External links

* [http://www.cypherpunks.ca/otr/Protocol-v2-3.1.0.html Description of the OTR-Messaging Protocol version 2]


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Sidney Bernstein, Baron Bernstein — Sidney Lewis Bernstein, Baron Bernstein (January 30, 1899 February 5, 1993) was one of Britain s first television barons , the least flamboyant, but probably the most enduringly influential, of the show business entrepreneurs who won the first… …   Wikipedia

  • Off-the-Record Messaging — Off the Record Messaging, commonly referred to as OTR, is a cryptographic protocol that provides strong encryption for instant messaging conversations. OTR uses a combination of the AES symmetric key algorithm, the Diffie–Hellman key exchange,… …   Wikipedia

  • Yao's Millionaires' Problem — is a secure multiparty communication problem which was introduced by Andrew Yao, a prominent computer scientist and computational theorist. The problem discusses two millionaires, Alice and Bob, who are interested in knowing which of them is… …   Wikipedia

  • George H. W. Bush — This article is about the 41st U.S. president. For ship named after him, see USS George H.W. Bush (CVN 77). For his son, the 43rd U.S. president, see George W. Bush. For other persons of the same name, see George Bush (disambiguation). George H.… …   Wikipedia

  • literature — /lit euhr euh cheuhr, choor , li treuh /, n. 1. writings in which expression and form, in connection with ideas of permanent and universal interest, are characteristic or essential features, as poetry, novels, history, biography, and essays. 2.… …   Universalium

  • List of P. G. Wodehouse characters — Lists of P. G. Wodehouse characters Characters in all Wodehouse stories Characters in the Blandings stories Characters in the Drones Club stories Characters in the Jeeves stories Characters in the Mulliner stories Characters in the Ukridge… …   Wikipedia

  • performing arts — arts or skills that require public performance, as acting, singing, or dancing. [1945 50] * * * ▪ 2009 Introduction Music Classical.       The last vestiges of the Cold War seemed to thaw for a moment on Feb. 26, 2008, when the unfamiliar strains …   Universalium

  • 81st Academy Awards — Date Sunday, February 22, 2009 Site Kodak Theatre Hollywood, Los Angeles, California, U.S. Pre show …   Wikipedia

  • United States — a republic in the N Western Hemisphere comprising 48 conterminous states, the District of Columbia, and Alaska in North America, and Hawaii in the N Pacific. 267,954,767; conterminous United States, 3,022,387 sq. mi. (7,827,982 sq. km); with… …   Universalium

  • Media and Publishing — ▪ 2007 Introduction The Frankfurt Book Fair enjoyed a record number of exhibitors, and the distribution of free newspapers surged. TV broadcasters experimented with ways of engaging their audience via the Internet; mobile TV grew; magazine… …   Universalium

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”