Re: My attempt to break Rijndael (SAT-attack)
- From: Thorsten Kiefer <toki782@xxxxxxxxxxxxxxxx>
- Date: Tue, 27 Feb 2007 23:55:50 +0100
Kristian Gjøsteen wrote:
Thorsten Kiefer <toki782@xxxxxxxxxxxxxxxx> wrote:
I did some research on breaking Rijndael.
I converted the Rijndael algorithm into a SAT-instance.
Then I added the 1-literal clauses of the plaintext and the key.
Then I ran my favorite SAT-solver on this instance, and the result was
the correct encryption of the plaintext with the given key.
Is this surprising?
Now what more intersting :
I only add the 1-literal clauses of the plaintext and the ciphertext.
Now the solution should contain the correct key.
At the moment my SAT-solver does not terminate in finite time for this
constellation.
Do you think this is surprising? I don't.
I call this the SAT-attack.
Is anyone interested ? Shall I provide links to my programs ?
Nah. But you may be interested in algebraic attacks.
Hi,
I tried something different:
I added the clauses for the plaintext, ciphertext and all 128 clauses of the key.
It takes 24 seconds to solve this.
Then I remove the key-clauses and insert only 126 clauses of the key.
This takes 30 seconds to solve.
....
Then I remove the key-clauses and insert only 116 clauses of the key.
This takes 617 seconds to solve.
If you assume the formula a*b^n for the time complexity, then you can find:
time(n) = 24 * 1.2^n, where n is the number of missing key-clauses(/bits).
time(128) = 3.27*10^11 second, which is about 10000 years (on my computer).
So if you could accelerate the solver e.g. by parallel computing by a factor 10000,
you could crack a Rijndael key in 1 year.
Unfortunately my favorite SAT-solver is stochastic an therefore the time(n)-formula
is not totally reliable.
Is this more interesting now ?
Regards
Thorsten
.
- Follow-Ups:
- Re: My attempt to break Rijndael (SAT-attack)
- From: Kristian Gjøsteen
- Re: My attempt to break Rijndael (SAT-attack)
- References:
- My attempt to break Rijndael (SAT-attack)
- From: Thorsten Kiefer
- Re: My attempt to break Rijndael (SAT-attack)
- From: Kristian Gjøsteen
- My attempt to break Rijndael (SAT-attack)
- Prev by Date: Crypting data
- Next by Date: Re: Crypting data
- Previous by thread: Re: My attempt to break Rijndael (SAT-attack)
- Next by thread: Re: My attempt to break Rijndael (SAT-attack)
- Index(es):
Relevant Pages
|
|