Re: What is a "perfect secret" ?

From: Guy Macon (http://www.guymacon.com)
Date: 09/30/04

  • Next message: Theodore Y. Ts'o: "Re: new /dev/random"
    Date: Wed, 29 Sep 2004 21:06:21 -0700
    
    

    Gustavo L. Fabro <gustavo_fabro%removethis%@hotmail.com> says...

    >I saw one giving an example of a 'perfect secret' being a simple XOR on
    >a plain text, using a key with the same size of the plain text. Something
    >like this would be impossible to break since the same possibility would
    >occur for,
    >
    >say, 'cat', 'rat', 'tap', 'dog' and so on.
    >
    >But one could not (that's the question), on such a case, with infinite
    >system resources, scan the possibilities of a whole text (say, 2 pages
    >of text) "matching" something in some language? Like, in English, if
    >20 characters XORed with a brute force trying key matched "the dog is
    >beautiful", and no else key did that, wouldn't the cipher be, in that
    >case, successfully hacked?

    The attacker would indeed find a key that returns "the dog is beautiful."
    He would also find keys that return:

    the cat is beautiful
    the dog is very ugly
    your bases belong to
    abcdefghijklmnopqrst
    We eschew obfucation
    Aaaaaaaaaaaaaagghh!!
    http://guymacon.com/
    )t3cTp(c=^~lL|gyyK!v

    ...and EVERY other possible 20 character message.

    So the attacker with infinite system resources, can't do any
    matching with a known language because he will just get a
    list of every possible match.


  • Next message: Theodore Y. Ts'o: "Re: new /dev/random"

    Relevant Pages

    • Re: What is a "perfect secret" ?
      ... You can't just use a plain sentence and XOR it with your key and expect ... allowable plaintext / key pairs while the vast majority of those possible ... We might find that dog gave cat while all the others gave ...
      (sci.crypt)
    • Re: This Really Chaps My Hide - I forgot to mention......
      ... beautiful little cats have a brand new pick-up truck sitting in their ... I turned down some potential owners for a puppy ... I would love to have a dog or two again, but I know it would freak him out ... I would be devastated if I lost this lovely, beautiful, ...
      (rec.pets.cats.anecdotes)
    • Re: What is a "perfect secret" ?
      ... ]brute force trying key matched "the dog is beautiful", ... a cat eats 3 oysters ... by your brute force you will get them all. ...
      (sci.crypt)
    • Re: Photos of Blue
      ... He is a darling. ... And yes he is beautiful. ... they think their husband or child or dog is the best one in the world. ... Since my angel Ruby died last year, I have been so lonely for a dog. ...
      (rec.pets.dogs.behavior)
    • Re: Atheists: Americas most distrusted minority
      ... Carved in mystic runes upon the very living rock, the last words of Amy ... Guskin of rec.arts.sf.tv.babylon5.moderated make plain: ... think they're kind of beautiful, ...
      (rec.arts.sf.tv.babylon5.moderated)