projects
/
cipher-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed norms.normalise to sum elements to one (e.g. probabilities). Index of coincid...
[cipher-tools.git]
/
2013
/
solutions.txt
diff --git
a/2013/solutions.txt
b/2013/solutions.txt
index c2b8c33b05ad6008f2c18c8c7e940090d348668d..b54c58f0f9bbb8bcdb1f0ee8d438f6def2d219bb 100644
(file)
--- a/
2013/solutions.txt
+++ b/
2013/solutions.txt
@@
-3,7
+3,11
@@
2a: affine_decipher(c2a, 3, 3, True)
2b: caesar_decipher(c2b, 6)
3a: affine_decipher(c3a, 7, 8, True)
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)
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')