Re: question

From: Jack (aegerbearlord_at_rpgbattlezone.com)
Date: 01/30/04


Date: 30 Jan 2004 06:14:29 -0800

ggr@qualcomm.com (Gregory G Rose) wrote in message news:<bvd278$4v2@qualcomm.com>...
> In article <4019f646$0$28869$afc38c87@news.optusnet.com.au>,
> Necrotica <aclements@optushome.com.au> wrote:
> >> >Exception 1: It has a random seed, that is to say with an 8 character
> >> >password being used the random seeding will be set to either 3, 5, or
> 7,
> >> >with a 9 character password the random seeding will be set to either 2
> 4 6
> >> >or 8.
> >>
> >> I don't understand this at all, not at all.
> >
> >instead of being a standard vignere encryption with the first character in
> >the key and the first character in the plaintext being compared and result
> >recorded it, the first character in the key to be compared is either the 3rd
> >5th or 7th character it then counts thorugh the key for the seed i will use
> >5 for the example
> >
> >key:
> >big&red1
> >
> >the actual key being used is as follows
> >
> >rbeidg1&
> >
> >so the actual key is the 5th character in a row used against a plain text
> >
> >rbeidg1&rbeidg1&
> >hello how are you?
>
> Ahh, gotcha.
>
> >> Ah, finally a clear question. No, this is no
> >> harder to solve than a single Vigenere with a key
> >> as long as the least common multiple of the
> >> individual keys; since it appears that you keep
> >> the same key length for the multiple passes over
> >> the data, it is actually equivalent to the
> >> original Vigenere but with a different (but
> >> related) key, and hence no harder to solve.
> >
> >how it was explained to me was that it wont only be 8 bit if the same
> >character was used throughout the plaintext, but because 8 different
> >characters are used for each 8 consecutive characters in the plaintext would
> >it not be each block of 8 characters in the plaintext is encrypted by 64
> >bits? would it not therefore be that each block of 64 bits has an XOR done
> >on it with 64 bits and therefore a recursive 64 bit encryption for each
> >block of 8?
> >
> >that is to say that for each block of 8 characters in the plaintext
> >
> >64+64+64+64+64+64+64+64
> >
> >each character in the key compared to each character in the plaintext 8
> >times for each block of characters in the plaintext equal to the length of
> >the key which is 8
>
> Well, it was explained to you wrong.
>
> The net effect is this: you add up all the
> characters in the columns:
>
> rbeidg1&rbeidg1&
> qadhcf0%qadhcf0%
> ...
> hello how are you
> =================
> fdsauioye8397876y (or whatever actually results)
>
> Now forget the plaintext for a second... and just
> add up the 8 rows of keys.
>
> rbeidg1&rbeidg1&
> qadhcf0%qadhcf0%
> p`cgbe/$p`cgbe/$
> o...
> n...
> m...
> l...
> k[^b]`*Xk[^b]`*X (where X is actually ascii US, or ctrl-underscore)
>
> Now, whatever these add up to, still repeats every
> 8 characters!
>
> Worse, in a way, is that you just keep adding the
> same characters over and over...
> X + (X-1) + (X-2) ... + (X-7) = X+X+...+X -1-2...-7
> = 8*X - 28 (for each character X in the original password).
>
> Now remember, these are bytes, hence they only
> have 256 possible answers; but 8 is a factor of
> 256! Every 32nd character will in fact end up with
> the same answer... and ascii has patterns in it.
> So, for example, the first character of your
> shuffled password... (note that the shuffling buys
> you nothing at all, BTW) ... is 'r', which is
> equivalent to 'R', and ctrl-R, and meta-R, and
> '2'. They all end up giving you an effective key
> byte of 162*8-28 (mod 256) = 1268 (mod 256)
> = 244
> = meta-N ('N' with the high bit set).
>
> So, now we encrypt with this single, very weird,
> Vigenere key.
>
> The only effect of your machinations was that the
> key, instead of looking like "big&red1", that sort
> of makes sense to a human, now has weird
> non-printable characters in it. But, in return,
> you've actually *reduced* its entropy to 40 bits.
> But that's all irrelevant, since you solve a
> Vigenere by looking at character frequencies. It's
> exactly as weak as the original Vigenere, from
> that point of view.
>
> Hope that was clear.
>
> Greg.

This reminds me (vaguely) of a cipher I saw in a pawn shop. They used
a system similar to that above to show prices, but using a different
word as the key. It was much simpler than the above, as it had no
symbols beyond a few letters of the alphabet. As I recall, the key was
BOOKKEEPER. Perhaps he (the owner) thought a longer word with
repetition would be harder to crack for prospective thieves, not that
there was anything worth taking.
EKKK OBOB, signed, Codebreaker. (I'll give you a hint, use BOOKKEEPER)



Relevant Pages

  • Re: Querying for postcodes within an address against another maste
    ... we add 1 to we have the position of the first character after the comma. ... so mid defaults to all the characters from the ... Postcodes in separate fields. ...
    (microsoft.public.access.queries)
  • Re: Entourage 2004 - Missing Characters
    ... capitalizing the first character of every new line? ... No missing characters. ... contents into an Entourage plain text message, sent it to myself, opened the ...
    (microsoft.public.mac.office.entourage)
  • Re: Funny gaming moments
    ... fully to life at all. ... That beats the two characters from my games that are tied for shortest ... My very first character was killed about six or ... there was a foaming tankard waiting for Narek; ...
    (rec.games.frp.dnd)
  • Re: How to start/stop a script at certain time?
    ... Well, it takes up less amount of characters, but only if you have a LOT ... typing the commands on a console. ... quotes as the first character. ... I asumed that it would be run as root anyway. ...
    (alt.os.linux.suse)
  • Re: create database 2bad - - Fails?
    ... The first character must be one of the following: ... in addition to letter characters from other languages. ... create database ...
    (microsoft.public.sqlserver.programming)

Quantcast