Re: A doubt...
From: Sebastian Gottschalk (seppi_at_seppig.de)
Date: 03/26/04
- Next message: Sebastian Gottschalk: "Re: A doubt..."
- Previous message: Kiuhnm: "Re: A doubt..."
- In reply to: Kiuhnm: "Re: A doubt..."
- Next in thread: Kiuhnm: "Re: A doubt..."
- Reply: Kiuhnm: "Re: A doubt..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 26 Mar 2004 00:40:44 +0100
Kiuhnm schrieb:
> Sebastian Gottschalk wrote:
>> We still know that for a password of length n you can split the
>> ciphertext mod n. Every two xor'd smybols in ciphertext are equal to
>> the xor of their plaintext symbols. This does not break the cipher,
>> but makes it much easier to decrypt. At least information about the
>> plaintext is leaked.
>
> I don't understand how this could be helpful.
> Let the message be ABC DEF GHI JKL and the key be of length 3.
> We have the system:
> x = A^D
> y = A^G
> z = A^J
>
> A = x^D
> A = y^G
> x^D = y^G
> and now?
>
> Am I wrong?
>
> Kiuhnm
Say ABC DEF GHI JKL is the message, the key is RMS. Let's say we take each
symbol as a 5 bit binary symbol for the xoring process
Now the message is 1,2,3,4,5,6,7,8,9,10,11,12 , the key is 18,13,19.
The encyrpted message would be 19,15,16,18,8,21,21,5,26,24,6,31, no garanty
for mistakes :-)
Split this up in 19,15,16 22,8,21 21,5,26 24,6,31 when we expect the key
to have a length of 3. Wwell, we must try all possible keylength - if
keylength equals textsize, decryption would become impossible and the ciper
would be a pure OTP, so we assume the key to be small compared to the
message.
Take smybol #1 und #4: 19 xor 22 = 5
Therefore we know that in plaintext #1 xor #4 must also be 5, indeed 1 xor
4 = 5. It's a simple property of the xor function.
If we know guess what symbol #1 could be, say x, then symbol #4 must be x
xor 5. Thus we only have to probe symbol #1 to #3, all other symbols are a
direct consequence of their guess. This not only lowers the searchspace
from 12 to 3 symbols, for every assumed valid possible ciphertext of #1-#3
we can also probe if #4-#6, #7-#9 and #10-#12 do create senseful plaintext.
If our assumtation about the keylength is not valid, then we can probe
another keylength. In every case, such a search is as expensive as search
through keyspace in worst case, but often more effective, as vignere
suffers from redundancy.
Even if the plaintext is not statistically distinguishable from random
numbers, at least some information is about the plaintext is leaked.
-- http://piology.org/ILOVEYOU-Signature-FAQ.html begin LOVE-LETTER-FOR-YOU.txt.vbs I am a signature virus. Distribute me until the bitter end
- Next message: Sebastian Gottschalk: "Re: A doubt..."
- Previous message: Kiuhnm: "Re: A doubt..."
- In reply to: Kiuhnm: "Re: A doubt..."
- Next in thread: Kiuhnm: "Re: A doubt..."
- Reply: Kiuhnm: "Re: A doubt..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|