# Unknown Encryption Method

As part of an assignment, I have been given a cipher text of

FFFXXXFGXAGFAFDAFXADDAGAD


with the following description,

A zebra could unlock this German, 1st World War cipher.


At first, I thought that the description could contain a playfair keyword that could be used to crack the ciphertext. However, the ciphertext is 25 characters long - shouldn't the plaintext be padded before encryption to create en even number of characters? Also, I don't see how playfair encryption could yield repeating characters in a pair like "FF" or "XX".

I was hoping someone could validate my reasoning behind this and maybe point me in the right direction (in terms of determining which encryption method has been used).

• Welcome to Crypto.SE! First up, your question is a bit borderlining as "Requests for analyzing ciphertext or reviewing full cryptographic designs are off-topic, ...." but that's just an aside and (from my point of view) not really applicable in this case. Anyway, the answers to the following might help - How to attack a classical cipher using known partial plaintext? – e-sushi Nov 23 '16 at 12:53
• A zebra has black and white lines. In the Netherlands a "zebrapad" is a pedestrian crossing (due to the white and black lines). People tend to walk only on the white lines. "Zebra" therefore often means that you have to skip each other element or character. – Maarten Bodewes Nov 23 '16 at 13:04
• And as far as I know, the playfair cipher was exclusively used by the British and not the Germans... – SEJPM Nov 23 '16 at 13:19
• You want to look at the ADFGVX cipher, a German, 1st World War cipher. – fgrieu Nov 23 '16 at 13:25
• @fgrieu It looks like this might be the right answer. The cipher text clearly shows its characteristics. Too bad we didn't actually learn about this in class. – MPol Nov 23 '16 at 13:28