X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=2019%2F2019-challenge6.ipynb;fp=2019%2F2019-challenge6.ipynb;h=71509efc442e25431df0c781bac88e476eb29fba;hb=3ee00aa6e241bad0efe7ec600c26bdbfda2a2c00;hp=9fc55d9be7a5868aee937fd0f3c0f8a065ab21a3;hpb=fc540fb273b1e52dc85dc60e8bbcc120edaccfb7;p=cipher-tools.git diff --git a/2019/2019-challenge6.ipynb b/2019/2019-challenge6.ipynb index 9fc55d9..71509ef 100644 --- a/2019/2019-challenge6.ipynb +++ b/2019/2019-challenge6.ipynb @@ -328,13 +328,33 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": 5, "metadata": {}, "outputs": [], "source": [ "spb = keyword_decipher(scb, 'tovarishch', KeywordWrapAlphabet.from_last)\n", - "trs = list(itertools.permutations(range(5)))\n", - "column_transposition_break_mp(rcpb, translist=trs, fitness=Ptrigrams)" + "# trs = list(itertools.permutations(range(5)))\n", + "# column_transposition_break_mp(rcpb, translist=trs, fitness=Ptrigrams)" + ] + }, + { + "cell_type": "code", + "execution_count": 6, + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "'votirachsoiharunegisthtnsuevahocelcneduhtdrievnitseagioitasnhdnevatedmreenihtdttarehsiednideeasatobr'" + ] + }, + "execution_count": 6, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "spb[:100]" ] }, { @@ -444,7 +464,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.7.5" + "version": "3.6.8" } }, "nbformat": 4,