In this challenge, you are going to attack a variant of the Hill cipher.
Numerous documents will tell you how to recover the key of a Hill cipher with a few plaintext/ciphertext pairs.
This attack requires the knowledge of the values attributed to the letters.
Here, these values will be unknown to you. In compensation, you will be allowed to choose up to 32 plaintext blocks and get their encrypted values. The matrix and the permutation alphabet will be different each time.
The page hill_cpta.php takes a cpta GET variable, which contains your plaintext blocks (uppercase, separated with underscores, like cpta=ABC_DEF_GHI).
You will get, besides the corresponding ciphertexts, five 'challenges', or random ciphertexts, that you will have to decrypt (the decrypted values won't be intelligible).
You will then send your answer to the same page in a solution GET variable.
You have 10 minutes to solve it.
Source of hill_cpta.php
Please use it to ensure that you have a reasonnable success rate before spamming the site (I reached about 1/2, but you can do better).
Needless to say, online brute-force is prohibited.
It can probably be solved in many ways. I hope you'll enjoy it.