{
"cell_type": "code",
"execution_count": 1,
- "metadata": {
- "collapsed": true
- },
+ "metadata": {},
"outputs": [],
"source": [
"import os,sys,inspect\n",
"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",
},
{
"cell_type": "code",
- "execution_count": 9,
- "metadata": {
- "collapsed": false
- },
+ "execution_count": 2,
+ "metadata": {},
"outputs": [
{
"data": {
" [11, 11]]), -5760.41300554484)"
]
},
- "execution_count": 9,
+ "execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
"cell_type": "code",
"execution_count": 3,
"metadata": {
- "collapsed": false,
"scrolled": true
},
"outputs": [
},
{
"cell_type": "code",
- "execution_count": 17,
- "metadata": {
- "collapsed": false
- },
+ "execution_count": 4,
+ "metadata": {},
"outputs": [
{
"name": "stdout",
},
{
"cell_type": "code",
- "execution_count": 14,
- "metadata": {
- "collapsed": false
- },
+ "execution_count": 5,
+ "metadata": {},
"outputs": [
{
"name": "stdout",
},
{
"cell_type": "code",
- "execution_count": 19,
- "metadata": {
- "collapsed": false
- },
+ "execution_count": 6,
+ "metadata": {},
"outputs": [
{
"data": {
"[('0', 15368), ('1', 11257), (' ', 6508), ('2', 5920), ('\\n', 1)]"
]
},
- "execution_count": 19,
+ "execution_count": 6,
"metadata": {},
"output_type": "execute_result"
}
{
"cell_type": "code",
"execution_count": null,
- "metadata": {
- "collapsed": true
- },
+ "metadata": {},
"outputs": [],
"source": []
}
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
- "version": "3.5.2"
+ "version": "3.6.3"
}
},
"nbformat": 4,
- "nbformat_minor": 0
+ "nbformat_minor": 1
}