Possible Duplicate:
How can I do a brute force (ciphertext only) attack on an CBC-encrypted message?
My question is about a cipher text only attack - I have as input only the initialization vector and one cipher text.
I know the key domain: letters "a-h", and the padding is zero's (don't know if that helps).
Problem is that after XORing (as part of the CBC schema) most of the remaining letters are not part of the domain of "a-h", so I get almost readable text with all the keys I try in the brute-force attack.
How can I know for sure the key I got is the correct one (meaning how do I know when to stop the bruteforce attack - meaning how to know the plain text I got is fully readable)?
What I have tried so far:
I was trying to use a dictionary to check if the words I got in the plain text are words in English and as I said most of the text is readable because of the small domain and the CBC schema which XOR before the encryption function: CipherTextBlock1=E(IV xor PlainTextBlock1, key) => CipherTextBlock2=E(C1 xor PlainTextBlock2, key) and so on...