Re: Method of authentication

From: Tamir (viruses.live_at_gmail.com)
Date: 10/19/05


Date: 19 Oct 2005 05:26:11 -0700


> I'll try to ask a few questions for you to ponder, but the bottom
> line is: Don't design your own cryptoprimitives, except for fun.

What makes you think this isn't for fun? I just wanted to know where
the hole is.

> How do they use a sequence of random numbers to identify each other?
> Please, no handwaving, just describe precisely how you would go about
> doing it.

I don't know what handwaving is, but I'll answer the question. One
machine has an infra-red transmitter, the other a reciever. One sends
the random number, the other checks it against its own number.

> Is it low on "calculations"? How does it compare with say RC4?

Is this rhetorical? I'm not sure how RC4 works, but I think it's safe
to say that this algorithm is very easy for a computer, or a cheap
chip, to do.

> >So, is there an easy way to crack this that I'm overlooking?
>
> Yes. The least significant digits going into the permutation step
> are non-uniformly distributed. This most likely reveals the
> permutation, which then reveals the input value, and then you get
> the starting value.

Ok, my vocabulary needs work.
>>From what I understood, you're saying that some of the digits aren't so
random when they go into the array, and using this information, you can
find the array.
That's the weak point of the algorithm, but there are two things
preventing that:
1) Chopping off the first few digits. The more you chop off, the more
uniformly distributed the ones left are.
2) The step after the permutation - mixing the digits and putting them
back into the array. For example, if you have the numbers 12, 34, and
56, it will switch them into 41, 63, and 25. Then they get put into the
array again. If you do this enough times, retracing it becomes near
impossible.

> And by the way, if you want comments on an algorithm, you really
> need to be precise. No handwaving!

Again, I don't know what that means. If there's something unclear, just
tell me.



Relevant Pages

  • Re: [QUIZ] Counting to 100 (#119)
    ... that could map a number n to each permutation of digits, ... digits, 1 to 19683 for 10 digits, etc. ... all possible orders for the elements in the array. ...
    (comp.lang.ruby)
  • Re: Generating "next permutation"
    ... You only need the Nth permutation, ... number in base 5 where all the "digits" are distinct. ... permutation and put it into the array Y. ... The rest of the macros should be self-explanatory. ...
    (sci.math)
  • Solving the Google "prime number in e" challenge
    ... JOB HUNTERS, GOOGLE THIS ... Here you'll find a RosAsm assembly program that computes the decimal digits ... have one multi-kilobyte number to deal with, E, that you divide by N, ... the Woz algorithm runs through a long memory array one byte ...
    (alt.lang.asm)
  • Re: Vlookup variation
    ... from cell to cell in the lookup table. ... for the array. ... >is........if you want the Leftmost 6 characters of the ... >> up count the number of digits, ...
    (microsoft.public.excel.worksheet.functions)
  • Re: arithmetic operations on very large integers in different bases
    ... List1 = contains digits of 1st VL integer ... fun addC(x, 0) = x ... val dig = sum mod base; ...
    (comp.lang.ml)

Quantcast