Renamed break.py to cipherbreak.py so it wasn't a reserved word.
[cipher-tools.git] / 2013 / solutions.txt
index c2b8c33b05ad6008f2c18c8c7e940090d348668d..b54c58f0f9bbb8bcdb1f0ee8d438f6def2d219bb 100644 (file)
@@ -3,7 +3,11 @@
 2a: affine_decipher(c2a, 3, 3, True)
 2b: caesar_decipher(c2b, 6)
 3a: affine_decipher(c3a, 7, 8, True)
+# with open('2013/mona-lisa-words.txt') as f: mona_lisa_words = [line.rstrip() for line in f]
+# keyword_break(c4a, wordlist=mona_lisa_words)
 3b: keyword_decipher(c3b, 'louvigny', 2)
 4a: keyword_decipher(c4a, 'montal', 2)
 4b: keyword_decipher(c4b, 'salvation', 2)
+5a: keyword_decipher(c5a, 'alfredo', 2)
+5b: vigenere_decipher(c5bs, 'florence')