Everything2
Near Matches
Ignore Exact
Full Text
Everything2

Dining Cryptographers Problem

created by kozmund

(idea) by elem_125 (3.7 wk) (print)   ?   (I like it!) 1 C! Mon May 27 2002 at 23:02:57

A Cryptographic Protocol invented by David Chaum in 1988, first published in his paper "The Dining Cryptographers Problem: Unconditional Sender and Recipient Untraceability" in the Journal of Cyptography

Imagine the following scenario:

Three cryptographers are out for dinner one night. When they sit down for dinner they notice that their favorite NSA agent is also sitting in the restaurant. After eating their meal they ask for the bill, only to be told that some has paid for them, but the waiter can't tell them who.

The crytographers then start to wonder who paid for them, was it one of their three or was it the NSA agent? The problem here is that, if one of the crytographers had paid then he isn't going to want the other two to know about it, so the solution is to find a protocol that allows for one person to disclose knowlage of something without anyone else knowing that it was that person who disclosed it.

So they use a protocol that, as the title of the paper suggests, allows for sender untraceability. It works like this:

1) Each person takes and unbiased coin and tosses it.

2) They then place the coin so only him (or her...) and the person on his right can see the result of the toss.

3) Each person then announces the values of the coins that he can see - but with out saying which side which coin is on. So they'll just state if they can see two heads, a head and a tail or two tails. The trick is that the cryptographer that paid for the meal (if it was indeed one of the cryptographers that paid and not the NSA agent) will lie about the value of the one of the coins that he can see.

4) The total number of heads and tails is tallied. If there is an odd number of each then each cryptographer knows that one of themselves paid for the meal, else, if the numbers were even, the NSA paid (how nice of them...)

This is perhaps better demonstrated in pictoral format.

This is a birds-eye view of the table just after the coins have been tossed:

       H
      / \
    1/   \2
    /     \
   T-------H
       3

If none of the cryptographers had paided for the meal then they would give the following results:

1: HT
2: HH
3: TH

If you tally these then you see that there are four Heads and two Tails announced, an even number of both.

If, however, number 2 had paid then the annouced results would be different, instead you would get:

1: HT
2: HT
3: TH

As you can see, in this case there are three Heads and three Tails, so one of the cyptographers has lied about the values of the coins that he can see. The trick here is that, since each person can only see a part of the information available, it is impossible to tell which person lied.

This same protocol can also be used to transmit messages. Say that an odd number of heads or tails counts for a binary 1 and an even number for a 0. As long as the crytographers continue to toss their coins, one of their party can anonymously transmit a message bit-by-bit by alternatly lying and not lying to construct their message in binary.

For more information about this protocol the original paper is available from http://komarios.net/crypt/diningcr.htm

For more information about crytographic protocols in general I personaly recommend "Applied Cryptography" by Bruce Schneier.


printable version
chaos

Dining philosophers problem Sleeping barber problem Prisoner's Dilemma Police logic
Implicit and explicit knowledge Cryptographer Monty Hall problem solution Principia Discordia
RC4 different voiced NSA Cryptology
zero knowledge A mathematically fair way to split a taxi ride with multiple stops
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
What you are reading:
Lawrence v. Texas: an Analysis
You noders still fucking suck, but your needing my wisdoms bad
When impressing friends with food
lawnjart spills his guts to the press
Robert Owen
Simple ways to test your soil
Rhapsody on a Windy Night
Someone please kill me
Singing Sand
Why Political Correctness is stupid
Kurt Vonnegut, Jr.
circuit bending
Working without a net
New Writeups
Meezzio
Gotlandssnus(thing)
argv
Astral Plane(idea)
Madara
One Winged Angel(fiction)
Tom Rook
Talk is cheap(poetry)
shaogo
Adelle Davis(person)
Aerobe
race car g sfjsgsd(poetry)
Binah
Dream Log: July 5, 2008(dream)
StrawberryFrog
Forgotten things in space(idea)
antigravpussy
velvet revolution fairy tale(idea)
Heitah
Nerve agent VX(thing)
Pavlovna
shite(idea)
wonton
Days and nights come together in a slow falling down(fiction)
Pavlovna
wee(idea)
katherine
root log: July 2008(log)
Madara
There’s nothing like a trail of blood to find your way back home(fiction)
This page courtesy of The Everything Development Company