From: Neil Smith Date: Wed, 22 Oct 2014 19:08:55 +0000 (+0100) Subject: Challenge 3 X-Git-Url: https://git.njae.me.uk/?a=commitdiff_plain;h=13995860020bb2ce2f6f2c319e1fdc4e8059790f;p=cipher-training.git Challenge 3 --- diff --git a/2014-challenge3.ipynb b/2014-challenge3.ipynb new file mode 100644 index 0000000..92ac480 --- /dev/null +++ b/2014-challenge3.ipynb @@ -0,0 +1,181 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:d8ff372312e3a12aff6a0d9e6b5df79509140ca9131aeeb8fc78255c4c5e8cd3" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "code", + "collapsed": false, + "input": [ + "import matplotlib.pyplot as plt\n", + "import pandas as pd\n", + "import collections\n", + "import string\n", + "%matplotlib inline\n", + "\n", + "from cipherbreak import *\n", + "\n", + "c3a = open('2014/3a.ciphertext').read()\n", + "c3b = open('2014/3b.ciphertext').read()" + ], + "language": "python", + "metadata": {}, + "outputs": [], + "prompt_number": 1 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "freqs = pd.Series(english_counts)\n", + "freqs.plot(kind='bar')" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "metadata": {}, + "output_type": "pyout", + "prompt_number": 2, + "text": [ + "" + ] + }, + { + "metadata": {}, + "output_type": "display_data", + "png": "iVBORw0KGgoAAAANSUhEUgAAAYgAAAD+CAYAAAAgT5JOAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJztnX2UHNV55n8DigSGEa3BRCCMGUK0BgLxrGUZ59jmNB8C\nxbH52BAQuwGNd9cnoMWYs9ks4N0sUjhRxtqTjSG7jrHBGhEbDAksCK8QEkjt4A8YkGksIwtJ2CKS\ngmRjISRsR4sW7R/vbbrU091Vdbu75nbX8zunT1Xfuk/d91bX9Nv1PtU9IIQQQgghhBBCCCGEEEII\nIYQQQgghhBBCCCFEV3IL8CKwHrg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q4fgPJMvupwPnu/UnqV/yaQezsdr/\nQexN5rk6fQZj9rG1vSGlYjBm+9Y2jvUSVsJK8+3/wQbtW2N0szjUdG52zjQaI24sn/MyLUdhn4Z/\ngP1a8wmYV7SqjWMMRtYPYG+sb8VoFmD+yK8DfwfcT/zf8V9hSeGfge9iZazvYUmgHi8Ay7Fk9W7g\nTuxDwh80GeOzwDVYwroL+6D4Fpb4NlP/SuKP3L4rzAL+A/BvY+YjhGgjS7EPB6L7+Qv8v2HcD3wG\n+yC5v0m/2XXaronZ9yLg5Abb6pneLZPHKwghOsFG7BNcSCU2kR2fwa64ZmHnwFPusWYig2qVvHgQ\nQnSaufFdRA9zBOZBfp/4EpYQQgghhBBCCCGEEEIIIYQQQgghhBBCiET8fygVznwTf1OJAAAAAElF\nTkSuQmCC\n", + "text": [ + "" + ] + } + ], + "prompt_number": 2 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "key_a, score = affine_break(c3a)\n", + "key_a, score" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "metadata": {}, + "output_type": "pyout", + "prompt_number": 3, + "text": [ + "((11, 1, True), -839.4977013876568)" + ] + } + ], + "prompt_number": 3 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "print(' '.join(segment(affine_decipher(sanitise(c3a), key_a[0], key_a[1]))))" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "harry you asked me about the flag day associates they area transnational hacking group dedicated to the overthrow of western capitalism they have been implicated in several major protests including an attempt to takeover the uk national grid attacks on reservoir systems and interference in bank trading networks it looks like the fda carried out fairly extensive modifications to the ship they did a good job too we hadnt noticed the added bulkheads until we compared the layout with the plans from lloyds register they seem to be there to add rigidity though there is one additional panel at the stern that doesnt fit the pattern and we will be removing that tonight to see what it is there for we would have done it this afternoon but decided we should conduct our own hull survey in case there is a booby trap\n" + ] + } + ], + "prompt_number": 6 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "key_b, score = keyword_break_mp(c3b)\n", + "key_b, score" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "metadata": {}, + "output_type": "pyout", + "prompt_number": 7, + "text": [ + "(('seahorse', ), -681.3308426043137)" + ] + } + ], + "prompt_number": 7 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "print(' '.join(segment(sanitise(keyword_decipher(c3b, key_b[0], key_b[1])))))" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "phase three the nautilus system was fully tested last night with complete success we sailed within four hundred metres of the target and monitored all radio traffic for two hours with no sign that we were being watched or were even noticed we then conducted a full radar sweep of the area and found three dead spots where we could work on the ship without detection as planned we converted the two adjacent empty containers in the middle of the stack into a large workshop area and carried out a full inspection drill now even if we are boarded our work should remain undetected we retrieved seahorse from the third container and carried out stage one of the assembly\n" + ] + } + ], + "prompt_number": 8 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "freqs_3b = pd.Series(collections.Counter([l.lower() for l in c3b if l in string.ascii_letters]))\n", + "freqs_3b.plot(kind='bar')" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "metadata": {}, + "output_type": "pyout", + "prompt_number": 9, + "text": [ + "" + ] + }, + { + "metadata": {}, + "output_type": "display_data", + "png": "iVBORw0KGgoAAAANSUhEUgAAAW4AAAD+CAYAAAAas+94AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAHMtJREFUeJztnX20HGV9xz+XpECAXJdbNYkvuMhpDL5xNWppxbpSoEol\nclBp7YtZqhwrKoRaC3i0QM+xgj3WW23tqSIkKr7EN4TWIjHeK9TXUnIhiAFNiWJbgiUEgqBF2f7x\nzGbn7t3ZefaZnZnnmfl+zpl795md7/x++8yzv539zuwMCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQ\nogacA2wHbo0eA0wBW4A7gOuARjmpCSGE6OeZmKJ9MLAEU6yPAt4D/EW0zHnAJaVkJ4QQ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gL5pvwWsz2vCGavlpmUnngi8ctRFm8NH0R\nEQgHY45d3YSdLSOEEEIIIYQQQgghhBBCCCGEEEIIIUSF+H/3Fw/jxzDvcgAAAABJRU5ErkJggg==\n", + "text": [ + "" + ] + } + ], + "prompt_number": 9 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [], + "language": "python", + "metadata": {}, + "outputs": [] + } + ], + "metadata": {} + } + ] +} \ No newline at end of file diff --git a/2014/3a.ciphertext b/2014/3a.ciphertext new file mode 100644 index 0000000..851ccaf --- /dev/null +++ b/2014/3a.ciphertext @@ -0,0 +1,4 @@ +KLQQP , +PJ X LBR DS ND LWJX M MKD OCLZ SLP LBBJH VLMDB . MKD P LQD L MQ LYB-Y LMVJY LC KL HRVYZ ZQJX U SDS VHLMD S MJ MKD J IDQMK QJT J O TDB MDQY HLUVM LCVBN . MKD P KLI D WDD Y VNU CVHLM DS VY BDID QLC N LGJQ UQJMD BMB, VYHCX SVYZ LY LM MDNUM MJ M LRD J IDQ M KD XR YLMV JYLC ZQVS, LMML HRB J Y QDB DQIJV Q BPB MDNB LYS V YMDQO DQDYH D VY WLYR MQLSV YZ YD MTJQR B. + +VM C JJRB CVRD MKD O SL HL QQVDS JXM OLVQC P DEM DYBVI D NJS VOVHL MVJYB MJ M KD BK VU. M KDP S VS L ZJJS GJW M JJ. T D KLS Y’M YJMV HDS M KD LS SDS W XCRKD LSB X YMVC TD HJ NULQD S MKD CLPJ XM TV MK MK D UCL YB OQ JN CC JPS?? ?B QD ZVBMD Q. MK DP BD DN MJ WD M KDQD MJ LS S QVZ VSVMP , MKJ XZK M KDQD VB JY D LSS VMVJY LC UL YDC L M MKD BMDQ Y MKL M SJD BY’ M OVM MKD ULMMD QY LY S TD TVCC WD QD NJIVY Z MKL M MJY VZKM MJ BD D TKL M VM VB MK DQD O JQ. T D TJX CS KL ID SJ YD VM MKVB LOMD QYJJY WXM SDHVS DS TD BKJX CS HJ YSXHM JXQ JTY K XCC B XQIDP VY H LBD M KDQD VB L WJJWP MQLU . \ No newline at end of file diff --git a/2014/3b.ciphertext b/2014/3b.ciphertext new file mode 100644 index 0000000..f0957b9 --- /dev/null +++ b/2014/3b.ciphertext @@ -0,0 +1 @@ +DUSIO JUGOO JUOBS KJVYK IIPIJ OZMSI RKYYP JOIJO HYSIJ BVTUJ MVJUA CZDYO JOIKA AOIIM OISVY OHMVJ UVBRC KGUKB HGOHZ OJGOI CRJUO JSGTO JSBHZ CBVJC GOHSY YGSHV CJGSR RVARC GJMCU CKGIM VJUBC IVTBJ USJMO MOGOE OVBTM SJAUO HCGMO GOOLO BBCJV AOHMO JUOBA CBHKA JOHSR KYYGS HSGIM OODCR JUOSG OSSBH RCKBH JUGOO HOSHI DCJIM UOGOM OACKY HMCGX CBJUO IUVDM VJUCK JHOJO AJVCB SIDYS BBOHM OACBL OGJOH JUOJM CSHWS AOBJO ZDJPA CBJSV BOGIV BJUOZ VHHYO CRJUO IJSAX VBJCS YSGTO MCGXI UCDSG OSSBH ASGGV OHCKJ SRKYY VBIDO AJVCB HGVYY BCMOL OBVRM OSGOE CSGHO HCKGM CGXIU CKYHG OZSVB KBHOJ OAJOH MOGOJ GVOLO HIOSU CGIOR GCZJU OJUVG HACBJ SVBOG SBHAS GGVOH CKJIJ STOCB OCRJU OSIIO ZEYP \ No newline at end of file