>>> polybius_encipher('this is a test message for the ' \
'polybius decipherment', 'elephant', \
[1, 2, 3, 4, 5], [1, 2, 3, 4, 5], \
>>> polybius_encipher('this is a test message for the ' \
'polybius decipherment', 'elephant', \
[1, 2, 3, 4, 5], [1, 2, 3, 4, 5], \
- pairs = [(column_index_type(p[1]), row_index_type(p[0])) for p in chunks(message, 2)]
+ pairs = [(column_index_type(p[1]), row_index_type(p[0]))
+ for p in chunks(message, 2)]
- pairs = [(row_index_type(p[0]), column_index_type(p[1])) for p in chunks(message, 2)]
+ pairs = [(row_index_type(p[0]), column_index_type(p[1]))
+ for p in chunks(message, 2)]
-def polybius_break_mp(message, column_labels, row_labels,
+def polybius_break(message, column_labels, row_labels,
letters_to_merge=None,
wordlist=keywords, fitness=Pletters,
number_of_solutions=1, chunksize=500):
letters_to_merge=None,
wordlist=keywords, fitness=Pletters,
number_of_solutions=1, chunksize=500):