Take the 2-minute tour ×  Given a CBC ciphertext and IV, how can
I find the encryption key?  We are limited with an 8 chars key,
each char in the range of [a..h], so I can generate every
possible key (these are only $8^8 = 2^{24}$ (about 4 million)
different possible keys).  How would I go about finding the
correct one though?  share|improve this question What have you
tried? Is this homework? –  Cameron Skinner Apr 17 '12 at 19:17
Yes this is homework. I tried thinking ways of using a
dictionary - possibly downloading an english wordlist and trying
to encrypt a word with every possible key, but that sounds very
unrealistic –  antisane Apr 17 '12 at 19:21 How many chars long
is the ciphertext? In other words, how many cipher blocks are
being generated? –  Adam Liss Apr 17 '12 at 22:52 Do you know
which padding mode was used, and how long the plaintext and/or
ciphertext are? –  CodesInChaos Apr 18 '12 at 18:32 add comment
migrated from stackoverflow.com Apr 18 '12 at 17:49  This
question came from our site fo