Can you brute force this classical cipher?
The following text was encrypted with the Affine cipher algorithm. The alphabet used was:
ABCDEFGHIJKLMNOPQRSTUVWXYZ ,.The numeric value of each character is it's index in the alphabet. So 'A' is mapped to 0, 'B' to 1, etc, all the way up to '.' which is mapped to 28. The size of the alphabet was chosen to be prime to allow for more possible keys.
Submit the (lowercase hex) md5 hash of the plaintext. Note the plaintext contains no newline characters, even at the end of the file.
Test VectorThis ciphertext
RLZZC SCIZJBWas encrypted with the same alphabet and the parameters
a=2, b=3 (remember the decryption parameters are the inverses of the encryption parameters). The decrypted message is:
HELLO WORLD.The md5 hash of this plaintext is