Re: An hash-Encryption algorithm



Kristian Gjøsteen <kristiag+news@xxxxxxxxxxxx> wrote in news:vv0qa3-
pll1.ln1@xxxxxxxxxxxxxxxxxxxxx:

> Neo <neoscandal@xxxxxxxxx> wrote:
>>K(0) = user entered key + salt (which is added plainly into the
>>encrypted file header)
>>
>>K(1) = MD5(K(0))
>>
>>C1 = K(1) XOR P1
>>
>>for n = 2 onwards..
>>
>>K(n) = MD5( K(n-1) + C(n-1)) <----------ciphertxt f/b
>>C(n) = K(n) XOR P(n)
>>
>>Provided the attacker has ONE (Cn,Pn) pair.. n = 1 or n != 1 .. what are
>>the attacks possible.
>
> Come on! If you can't figure it out from the equations you already
> have there, you aren't trying hard enough.
>

Oh yes. Hmm.. another revision

What if from n=2 onwards K(n) = MD5( K(n-1) + C(n-1) + user entered key).
theres no way the attacker can obtain the key.. even given both P1 and C1.

Or have i missed something again.
.



Relevant Pages

  • Re: An hash-Encryption algorithm
    ... >C= KXOR P ... >the attacks possible. ... Prev by Date: ...
    (sci.crypt)
  • even better description of algoithm with an attempt at a security proof.
    ... K2 = xor Pi) ... Collisions are coincidental in stream mode as for example, ... plaintext attacks: ... Traffic analysis may leak information on the nonce and therefore n which is ...
    (sci.crypt)
  • Re: Crypto Mini-FAQ
    ... >> often that attacks are possible. ... >> checksum is linear. ... Nikita Borisov, Ian Goldberg, and David Wagner. ... linear checksums commute with xor. ...
    (sci.crypt)
  • Re: Minimal crypto OTP by dummie
    ... machine99 wrote: ... > Then combine the key with the message using XOR or another ... Adding modulo the number of characters will do. ... character flipping) attacks are still possible. ...
    (sci.crypt)
  • Re: Reverseway algorithm (32767-bytes key) - full descryption.
    ... > The fifth step makes cipher unbreakable and impossible for decryption ... > against any attacks such as differential and linear cryptanalysis. ... Using XOR to expand a key does not a One-Time-Pad make. ...
    (comp.security.misc)