Re: a few questions about AES
- From: "Antony Clements" <antony.clements@xxxxxxxxxxxxxxx>
- Date: Sun, 22 Oct 2006 09:32:02 +1000
<snip>
(1) "Complexity". Certainly, the strength of a cipher depends on the
algorithm that it uses. But some of these algorithms are amazingly
simple - you could write them down completely from memory. So, a
"simple" cipher might be very secure, and a "complex" cipher might be
trivially insecure. Rather than saying that the strength of a cipher
depends on the "complexity", I'd say that the strength depends on the
"algorithym (regardless of complexity)".
(2) "How many keys". Phil Carmody put this best. The # of keys<end snip>
establishes an upper bound on the cipher strength. For exampe, if there
are only 2^10 keys, then, it is trivially easy to try each key in turn
(a brute force attack). So, few keys => a weak cipher. But the converse
is not necessarly true: many keys does /not/ necessarily => a strong
cipher.
the algorithm is very very simple, and i was referring to the complexity of
the key(s) used. the algorithm is a simple XOR stream cipher that
concatenates each key (each key is = the length of the userkey * 8. the
minimum size userkey is 8 bytes the maximum for the userkey is 64 bytes.).
this is why i have set a physical limit on the file size so that no keys are
repeated. the more permutation techniques AFAIK = more possible keys. the
lowerbound of possible keys is 3.43239^156 by my calculations, with an upper
bound of 1.0443^1233. keys use the whole ascii range.
<snip>
AFAIK, the only way to really establish the strength of a cipher, is to<end snip>
have it crytanalyzed by a professional cryptographer. General
programming skills, are nowhere near enough for this. For example, I've
been a professional software developer for over 30 years; I've written
probably half a million lines of code in many different languages; I've
had an amateur interest in cryptography for several years; but I have
absolutely /no clue/ how to cryptanalyze a cipher to see if it is weak
or strong!
which is why i am asking in here, surely there is someone capable of
cryptoanalysing.
.
- Follow-Ups:
- Re: a few questions about AES
- From: TC
- Re: a few questions about AES
- From: Unruh
- Re: a few questions about AES
- References:
- a few questions about AES
- From: Antony Clements
- Re: a few questions about AES
- From: mike3
- Re: a few questions about AES
- From: Antony Clements
- Re: a few questions about AES
- From: TC
- Re: a few questions about AES
- From: Antony Clements
- Re: a few questions about AES
- From: TC
- a few questions about AES
- Prev by Date: Re: a few questions about AES
- Next by Date: Re: a few questions about AES
- Previous by thread: Re: a few questions about AES
- Next by thread: Re: a few questions about AES
- Index(es):
Relevant Pages
|