X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=2016%2F2016-challenge8.ipynb;h=d990f8cc28dc3a755d32b6ee79447ce2295d8c2d;hb=1350633e419f802975c773db8de86e3de49ea7fd;hp=7a96e70e300a4e743d926d83ffdfce757f327a60;hpb=60a697926e04e109769b205534c08eeac712a28f;p=cipher-tools.git diff --git a/2016/2016-challenge8.ipynb b/2016/2016-challenge8.ipynb index 7a96e70..d990f8c 100644 --- a/2016/2016-challenge8.ipynb +++ b/2016/2016-challenge8.ipynb @@ -3,9 +3,7 @@ { "cell_type": "code", "execution_count": 1, - "metadata": { - "collapsed": true - }, + "metadata": {}, "outputs": [], "source": [ "import os,sys,inspect\n", @@ -16,7 +14,9 @@ "import matplotlib.pyplot as plt\n", "%matplotlib inline\n", "\n", - "from cipherbreak import *\n", + "from cipher.hill import *\n", + "from support.utilities import *\n", + "from support.text_prettify import *\n", "\n", "c8a = open('8a.ciphertext').read()\n", "c8b = open('8b.ciphertext').read()\n", @@ -27,10 +27,8 @@ }, { "cell_type": "code", - "execution_count": 9, - "metadata": { - "collapsed": false - }, + "execution_count": 2, + "metadata": {}, "outputs": [ { "data": { @@ -39,7 +37,7 @@ " [11, 11]]), -5760.41300554484)" ] }, - "execution_count": 9, + "execution_count": 2, "metadata": {}, "output_type": "execute_result" } @@ -53,7 +51,6 @@ "cell_type": "code", "execution_count": 3, "metadata": { - "collapsed": false, "scrolled": true }, "outputs": [ @@ -99,10 +96,8 @@ }, { "cell_type": "code", - "execution_count": 17, - "metadata": { - "collapsed": false - }, + "execution_count": 4, + "metadata": {}, "outputs": [ { "name": "stdout", @@ -118,10 +113,8 @@ }, { "cell_type": "code", - "execution_count": 14, - "metadata": { - "collapsed": false - }, + "execution_count": 5, + "metadata": {}, "outputs": [ { "name": "stdout", @@ -137,10 +130,8 @@ }, { "cell_type": "code", - "execution_count": 19, - "metadata": { - "collapsed": false - }, + "execution_count": 6, + "metadata": {}, "outputs": [ { "data": { @@ -148,7 +139,7 @@ "[('0', 15368), ('1', 11257), (' ', 6508), ('2', 5920), ('\\n', 1)]" ] }, - "execution_count": 19, + "execution_count": 6, "metadata": {}, "output_type": "execute_result" } @@ -160,9 +151,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "collapsed": true - }, + "metadata": {}, "outputs": [], "source": [] } @@ -183,9 +172,9 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.5.2" + "version": "3.6.3" } }, "nbformat": 4, - "nbformat_minor": 0 + "nbformat_minor": 1 }