From: Neil Smith Date: Thu, 29 Nov 2018 13:19:54 +0000 (+0000) Subject: Updated plaintext for 7a X-Git-Url: https://git.njae.me.uk/?p=cipher-tools.git;a=commitdiff_plain;h=92a11f3ea8393171a367ccf289a045b146783c0b Updated plaintext for 7a --- diff --git a/2018/2018-challenge7.ipynb b/2018/2018-challenge7.ipynb index 8240773..9c41ba8 100644 --- a/2018/2018-challenge7.ipynb +++ b/2018/2018-challenge7.ipynb @@ -84,41 +84,62 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 35, + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "('danger', , -7448.363712420528)" + ] + }, + "execution_count": 35, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "(key_a, wrap_a), score_a = keyword_break_mp(sca, fitness=Ptrigrams)\n", + "key_a, wrap_a, score_a" + ] + }, + { + "cell_type": "code", + "execution_count": 36, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "ex awt ly chat or cho had hit meic as nt sure but by the time iwa me around they had long gone if\n", - "you cille xw use the p unit casa professional hit just the right amount of for we to know k me out\n", - "probably no permanent damage the room had been expertly disassembled the shelves cere emptied of bla\n", - "wks mission files and mu who f the steam punkte wh nology had been taken apart presumably to make\n", - "sure it didnt wont a in any further sew rets the big beautiful roundtable had been wl eared and ile\n", - "anton it to steady myself as my heads cami guessed that cho ever had follo ced me into the tunnels\n", - "and on into the headquarters must have knoc n chat icas looking for it cas too mu who faw o in widen\n", - "we that they had found me here probably they cere won new ted c it h the emails that first got me\n", - "interested in b law k but in a won fused state after my b law k out icas puzzled chy had they\n", - "involved me perhaps they just didnt kno choc to find the shado car w hive and hoped i could be able\n", - "to help perhaps they canted to impl iwate me in the theft of the shado car w hive papers in that was\n", - "e they should have hit me hard eric as nt going to hang around long enough to get waugh t something\n", - "ca snagging at men one of the papers i had seen looked interesting enough to justify all this effort\n", - "i turned my head wa uti ously trying to ignore the throbbing behind m year and looked around the\n", - "room one more time to see chat cecere missing as i did so my foot waugh to n something and i bent\n", - "doc n top iwk it up chen they hit me i had been sitting reading bla wks wod ebook it cas full of\n", - "marvellous if dated ideas on wry p tography and information sew urity and i had just been reading\n", - "these w tion on transposition wip her sit seemed he caspar tiw ularly keen on w olum nar\n", - "transpositions and cas arguing that it could be best to read off the wip her text wol umn by wol umn\n", - "to won fuse enemy wry pt analysts icas musing on just hoc sew ure that could be chen the c orld cent\n", - "dark lu wk ilyas i had fallen i had dropped the book and it had slipped under the table some hoc\n", - "they had missed it during these a rw hand there it cas hidden in the shado csi took a deep breath to\n", - "sloc the spinning behind my eyes and pi wk ed the book up but as i pulled myself upright again the\n", - "tabletop shifted slightly to one side i struggled to regain my balan we and the table moved again\n", - "and this time i heard a distin wtw liw kasi shifted my c eight the table rotated b awk and there it\n", - "cason we more a soft metalli ww link as a rat whet tooth engaged i stood up grabbed at the table and\n", - "pulled si decays it turned again wli w king several times as it did so it casa noise ik nec very\n", - "cell the tumblers on a safe made the same sound though muw hmu wh quieter\n" + "exactly what or who had hit me i wasnt sure but by the time i came around they had long gone if you\n", + "will excuse the p unit was a professional hit just the right amount of force to knock me out\n", + "probably no permanent damage the room had been expertly disassembled the shelves were emptied of\n", + "blacks mission files and much of the steampunk technology had been taken apart presumably to make\n", + "sure it didnt contain any further secrets the big beautiful roundtable had been cleared and ile\n", + "anton it to steady myself as my head swami guessed that whoever had followed me into the tunnels and\n", + "on into the headquarters must have known what i was looking for it was too much of a coincidence\n", + "that they had found me here probably they were connected with the emails that first got me\n", + "interested in black but in a confused state after my blackout i was puzzled why had they involved me\n", + "perhaps they just didnt know how to find the shadow archive and hoped i would be able to help\n", + "perhaps they wanted to implicate me in the theft of the shadow archive papers in that case they\n", + "should have hit me harder i wasnt going to hang around long enough to get caught something was\n", + "nagging at men one of the papers i had seen looked interesting enough to justify all this effort i\n", + "turned my head cautiously trying to ignore the throbbing behind m year and looked around the room\n", + "one more time to see what we were missing as i did so my foot caught on something and i bent down\n", + "topic kit up when they hit me i had been sitting reading blacks codebook it was full of marvellous\n", + "if dated ideas on cryptography and information security and i had just been reading the section on\n", + "transposition ciphers it seemed he was particularly keen on columnar transpositions and was arguing\n", + "that it would be best to read off the ciphertext column by column to confuse enemy crypt analysts i\n", + "was musing on just how secure that would be when the world went dark luckily as i had fallen i had\n", + "dropped the book and it had slipped under the table somehow they had missed it during the search and\n", + "there it was hidden in the shadows i took a deep breath to slow the spinning behind my eyes and\n", + "picked the book up but as i pulled myself upright again the tabletop shifted slightly to one side i\n", + "struggled to regain my balance and the table moved again and this time i heard a distinct click as i\n", + "shifted my weight the table rotated back and there it was once more a soft metallic c link as a\n", + "ratchet tooth engaged i stood up grabbed at the table and pulled sideways it turned again clicking\n", + "several times as it did so it was a noise i knew very well the tumblers on a safe made the same\n", + "sound though much much quieter\n" ] } ],