projects
/
cipher-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Done challenge 9
[cipher-tools.git]
/
2016
/
2016-challenge8.ipynb
diff --git
a/2016/2016-challenge8.ipynb
b/2016/2016-challenge8.ipynb
index 6c673e0d12759dd8c793e886fb417ccbaf3ad048..d990f8cc28dc3a755d32b6ee79447ce2295d8c2d 100644
(file)
--- a/
2016/2016-challenge8.ipynb
+++ b/
2016/2016-challenge8.ipynb
@@
-2,7
+2,7
@@
"cells": [
{
"cell_type": "code",
"cells": [
{
"cell_type": "code",
- "execution_count":
3
,
+ "execution_count":
1
,
"metadata": {},
"outputs": [],
"source": [
"metadata": {},
"outputs": [],
"source": [
@@
-14,7
+14,9
@@
"import matplotlib.pyplot as plt\n",
"%matplotlib inline\n",
"\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",
"\n",
"c8a = open('8a.ciphertext').read()\n",
"c8b = open('8b.ciphertext').read()\n",
@@
-25,7
+27,7
@@
},
{
"cell_type": "code",
},
{
"cell_type": "code",
- "execution_count":
9
,
+ "execution_count":
2
,
"metadata": {},
"outputs": [
{
"metadata": {},
"outputs": [
{
@@
-35,7
+37,7
@@
" [11, 11]]), -5760.41300554484)"
]
},
" [11, 11]]), -5760.41300554484)"
]
},
- "execution_count":
9
,
+ "execution_count":
2
,
"metadata": {},
"output_type": "execute_result"
}
"metadata": {},
"output_type": "execute_result"
}
@@
-94,7
+96,7
@@
},
{
"cell_type": "code",
},
{
"cell_type": "code",
- "execution_count":
17
,
+ "execution_count":
4
,
"metadata": {},
"outputs": [
{
"metadata": {},
"outputs": [
{
@@
-111,7
+113,7
@@
},
{
"cell_type": "code",
},
{
"cell_type": "code",
- "execution_count":
14
,
+ "execution_count":
5
,
"metadata": {},
"outputs": [
{
"metadata": {},
"outputs": [
{
@@
-128,7
+130,7
@@
},
{
"cell_type": "code",
},
{
"cell_type": "code",
- "execution_count":
4
,
+ "execution_count":
6
,
"metadata": {},
"outputs": [
{
"metadata": {},
"outputs": [
{
@@
-137,7
+139,7
@@
"[('0', 15368), ('1', 11257), (' ', 6508), ('2', 5920), ('\\n', 1)]"
]
},
"[('0', 15368), ('1', 11257), (' ', 6508), ('2', 5920), ('\\n', 1)]"
]
},
- "execution_count":
4
,
+ "execution_count":
6
,
"metadata": {},
"output_type": "execute_result"
}
"metadata": {},
"output_type": "execute_result"
}
@@
-170,7
+172,7
@@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
- "version": "3.
5
.3"
+ "version": "3.
6
.3"
}
},
"nbformat": 4,
}
},
"nbformat": 4,