Added files for challenge 5
authorNeil Smith <neil.github@njae.me.uk>
Thu, 21 Nov 2013 18:23:38 +0000 (18:23 +0000)
committerNeil Smith <neil.github@njae.me.uk>
Thu, 21 Nov 2013 18:23:38 +0000 (18:23 +0000)
2013/5a.ciphertext [new file with mode: 0644]
2013/5b.ciphertext [new file with mode: 0644]
2013/solutions.txt
cipher.py

diff --git a/2013/5a.ciphertext b/2013/5a.ciphertext
new file mode 100644 (file)
index 0000000..4d91f4b
--- /dev/null
@@ -0,0 +1 @@
+BSTWI STHTH ISEWA HIZDH AGASH RTAGP EYIGT EHAYR TITHA IZJOS ZYEIZ REFGP BITSA KEYIS ARIZR EFGPB IAKTO EYEGE DZGAM STWEA YRTAW XZHIR TRYIO EIIST HZYEA IWEAH ITIIE WWHJH ISAIH SEOZI AMAPL JILEP ZYRIS AITAX YZIHJ GEMSA ISABB EYERM SEGER TRHSE OZRTR ISEBA TYITY OOZMT ISSEG AYRTD TIRTR SZMFZ XETIT HYZML AFVTY ISEWZ JKGER TRRAY TEWZG ISEHH ZDDTF EGDZW WZMSE GMSZM AHSER TRSED TYRSE GISEI GATWT HOZTY OFZWR AYRME YEERA YEMTR EATMA HMZYR EGTYO TDISE GEXTO SILEH ZXEIS TYOTY ISEHH AYOWE ISZHE OJPHM EGEYZ ISTYO TDYZI ISZGZ JOSRZ PZJSA KEAFF EHHIZ AYPHH BABEG HDGZX ISAIB AGIZD BAGTH TYISE MAGXA PLEIS EPVYE MMSAI MAHOZ TYOZY TAXSE ARTYO RZMYI ZIAWV IZAWD GERZO EGTSE MAHIS EREAW EGBEG JOOTA HSZME RISEX ZYAWT HAIZL AFVTY XAPLE SEVYZ MHHZX EISTY OALZJ IHAGA HDAXT WPTIH AWZYO HSZIL JIJYW EHHPZ JFZXE JBMTI SHZXE ISTYO DGZXI SEYAQ TMAGG EFZGR TITHA WWMES AKEAY PYEMH ZYISE NGAPS AGGP
diff --git a/2013/5b.ciphertext b/2013/5b.ciphertext
new file mode 100644 (file)
index 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 -8,4 +8,5 @@
 3b: keyword_decipher(c3b, 'louvigny', 2)
 4a: keyword_decipher(c4a, 'montal', 2)
 4b: keyword_decipher(c4b, 'salvation', 2)
+5a: keyword_decipher(c5a, 'alfredo', 2)
 
index 0e22a2a85bbc0afa5c6dc1b5caaf6c80459fcb2e..3251edd47ddc62190d2b7cb31895971506a139c4 100644 (file)
--- a/cipher.py
+++ b/cipher.py
@@ -496,6 +496,9 @@ def column_transposition_worker(message, keyword,
         transposed_columns = untranspose(columns, transpositions)
     return combine_every_nth(transposed_columns)
 
+def vigenere_encipher(message, keyword):
+    
+
 
 
 def caesar_break(message,