Re: Phone Flip Over the Phone...



On Dec 20, 10:31 am, The Translucent Amoebae <transamoe...@xxxxxxxxxx>
wrote:

Instead; Suggest Ways to make it more Functional...!

Yes, there is a way to flip a coin over the phone that is similar to
what you are thinking of, and not too difficult.

You are just missing one ingredient. A "one-way" function is needed.
That does not mean you need to use the really complicated mathematics
of public-key cryptography, though.

In addition to a telephone, both people need copies of the same phone
book.

Each person does this:

1) He picks a random spot in the phone book - its randomness is to his
own advantage. However, you do have to watch for, and avoid, spots
where the same phone number repeats.

2) The two phone numbers at the spot each one picks are added to form
the number that is either odd or even.

3) Each person gives the phone number *five places down* in the phone
book from the number he picked.

4) After both people have done that, they then tell each other the
name of the person with that phone number. So each one can then verify
that, yes, the phone number the other person committed to belonged to
that name.

5) Then, they count five places up to get the phone number to be added
for the odd or even.

This is, I think, as simple as what you're looking for.

You could do it with a hash function too, but even a half-decent hash
function is too complicated to do on a pocket calculator.

But assuming your steps of doing things with digits are a good hash
function, then you just have to do it backwards.

Each person picks his own row of digits, and does the operations that
correspond to them. They give the other person the *result*, but what
gets added for odd or even are the digits used to get the result.

John Savard
.



Relevant Pages

  • Magic Compression? (Why wont this work) (Code provided)
    ... I entirely accept the premise that there is no way to compress all ... or whatever hash you prefer) to the hash of the original file. ... the requisite number of digits. ... echo ""> file ...
    (comp.compression)
  • Re: Enigma 1371 - Odd big base
    ... Easiest enigma ever? ... > and my "digits" are (in the usual increasing ... > traditional digits 0-9, such as ODD, BIG, ... is man only a blunder of God, or God only a blunder of man? ...
    (rec.puzzles)
  • Re: Simle Hash for Invoice Numbers?
    ... of digits but without collisions. ... Here's one, albeit not a hash. ... Now use these numbers as stream bases for your invoices, ...
    (comp.programming)
  • Re: Enigma 1371 - Odd big base
    ... > and my "digits" are (in the usual increasing ... > traditional digits 0-9, such as ODD, BIG, ... > BASE, NAB and PRIME. ... of the given numbers is not obviously composite* are bases 30 and 34. ...
    (rec.puzzles)
  • Re: Ib taig Fawm for the first to answer 3 correctly!
    ... Close, but no cigars....all are correct except the odd 3 digits, it ... the main highway that it splitted from. ... Odd number of Freeway always North to South or South to North. ... What do the exits on the highway stand for or how are the exits ...
    (soc.culture.hmong)

Quantcast