From 8eb6246a9b4f99e6b3cd68047e6cef21289417ec Mon Sep 17 00:00:00 2001 From: Neil Smith Date: Fri, 19 Dec 2014 14:42:48 +0000 Subject: [PATCH] Added challenge 8 files, done 8a --- 2014-challenge8.ipynb | 2031 +++++++++++++++++++++++++++++++++++++++++ 2014/8a.ciphertext | 1 + 2014/8b.ciphertext | 1 + SIGNED.md | 29 +- 4 files changed, 2049 insertions(+), 13 deletions(-) create mode 100644 2014-challenge8.ipynb create mode 100644 2014/8a.ciphertext create mode 100644 2014/8b.ciphertext diff --git a/2014-challenge8.ipynb b/2014-challenge8.ipynb new file mode 100644 index 0000000..5b5d5dc --- /dev/null +++ b/2014-challenge8.ipynb @@ -0,0 +1,2031 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:e375a3faf5213c9f51d99f7c22948b1a55e592a6d8b6156a30b0fb490ea337a1" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "code", + "collapsed": false, + "input": [ + "import matplotlib.pyplot as plt\n", + "import pandas as pd\n", + "import collections\n", + "import string\n", + "%matplotlib inline\n", + "\n", + "from cipherbreak import *\n", + "\n", + "c8a = open('2014/8a.ciphertext').read()\n", + "c8b = open('2014/8b.ciphertext').read().strip()" + ], + "language": "python", + "metadata": {}, + "outputs": [], + "prompt_number": 9 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "freqs = pd.Series(english_counts)\n", + "freqs.plot(kind='bar')" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "metadata": {}, + "output_type": "pyout", + "prompt_number": 2, + "text": [ + "" + ] + }, + { + "metadata": {}, + "output_type": "display_data", + "png": "iVBORw0KGgoAAAANSUhEUgAAAYYAAAD+CAYAAAA+hqL9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJztnX+0VeV55z9XKZjoxcs1FsEYr7U0SrVhQojpSuI6/kBp\nJkGcWsWZCjczk1VljHFNp4NkpgOM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NCyDMGIZrFduxJzZdQmsifz2IzrKnYdfCsWza2slHDRWgagxB5MKNxERE4p2F64/dp\nHKoSQgghhBBCCCGEEEIIIYQQQgghhBBCiBHO/wdc3dBPs9bnrQAAAABJRU5ErkJggg==\n", + "text": [ + "" + ] + } + ], + "prompt_number": 2 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "freqs_8a = pd.Series(collections.Counter([l.lower() for l in c8a if l in string.ascii_letters]))\n", + "freqs_8a.plot(kind='bar')" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "metadata": {}, + "output_type": "pyout", + "prompt_number": 3, + "text": [ + "" + ] + }, + { + "metadata": {}, + "output_type": "display_data", + "png": "iVBORw0KGgoAAAANSUhEUgAAAWwAAAD+CAYAAAAeRj9FAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAHL9JREFUeJztnX2QHEd5xn9nK/5AuuPugpHE54IrIKCAC8IEylAsikQg\nAcUFgYKEoCMJIRBsUiFEshNiiSpAViqBgoQkfPkEmG+MYlEFSNgsGDBOjLVCtpEMwkocKpKxz3Ay\nBmLw5Y+e1e7tzexM9+729PQ+v6qt3ZnpZ9+3u2d7e5+ZnQEhhBBCCCGEEEIIIYQQQgghhBBCCCGE\nEEJUiIuBm4FDwEeBM4FpYD9wK7APmCwtOyGEEADUgO9jBmmATwBbgF3AXyfrtgI7vWcmhBBiCdPA\nEWAKWAHsBTYBh4HVSZk1ybIQQoiS+VPgJHAH8OFk3d0d28e6loUQQpTAucAtwK9iZtifBV7B8gF6\n3nNeQggxcqzI2f5U4BvAXcnylcAzgOMYK+Q4sBYz+17Gueeeu3j06NHBZCqEEKPDQWCme+VpOaLD\nwNOBszHWx0bMjHsv5uAjyfOeNPHRo0dZXFxc9rj00ktT1/d6jLom1LykCTcvacLNK08DPDltTM2b\nYR8EPgTcANwP3Ai8FxgHPgn8MXAMeGnO+yzh2LFjNsWlGXKMiYlpTp5su1w7duwAYHx8ioWFfLcr\n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0iv8hAuB3z82EP5pvvbrLPGm/t+Csws6XbMT7XI8hv+H8ArsN8640BL8F0ci8+hPGer0w0F2Bm\nKb14N+YXwoMxnfR7wN9mlH1X8vhXzE/aolyB+WLYk+T1QuCjmJ2r+8uu1WanA6/CfBn8PFmX598O\nm+6BbBqzo1/PcHLbgvliWIH5X0CLK3tonoVdu12Oyb9zn8my3lo8lfT9+VCPWC775m/lbE/jB5gv\nrU2YQfsssgesj2Jsl520Z6Vg7Kq7cuJ07gunYT4/Rf3rO4DjSYxzepS7GvMZuQ4zK39qou3FL4Cf\nYr54z8J82d3fU2G4P8npBOZLcgr4NPAl4E09Yr0OmMX8WrKyVXwedGxRx/hlXwD+L2V7rYd2Efiv\nnPd/AuZn0SLGM8qbyYPxClsHkL5KsW+9xwG/mby+mmyboh/Ow/jGi5gP+w0Z5Wo573NscClZU8vZ\nfmzA8Y5gbBebf+LWMtYf66FZz9IDiHn7TFaMvFgu+6YtKzEzxW9jrry5FnO8Yd+A49Q6Xv8CM9Dd\nl6N5HcZjfzDwKeAT9P5MvwMzSP8M+AbGcrkOMyBncRC4CvPl8SDg3zBf3C/poXkD8ErMF8j7MRO4\n+zBfRN8lfab9muS9W6wH/hz4ox5xhIiayzFf2iIO3o7bP/7GgQsxE7yf55Q9L2XdK3M0O4BHZmxL\nO4g5EMqYYQsxTA5jZjch2ULCHxdifpGsx+wD1yaPa8pMalD48rCF8MXz8ouIiDkLcyzrRvLtFiGE\nEEIIIYQQQgghhBBCCCGEEEIIIQLk/wFJCFVD/Yn0OQAAAABJRU5ErkJggg==\n", + "text": [ + "" + ] + } + ], + "prompt_number": 3 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "c8as = sanitise(c8a)\n", + "c8as" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "metadata": {}, + "output_type": "pyout", + "prompt_number": 4, + "text": [ + "'nyvlggsyglchxfeuytqcesqxpziufiggrbjhpayncruyfpsxufiupskyrectmmcncruyregxigrlglbtiblmecebzsvrlpuxpbibjajrljreobajrlufigjehbezywtmgjyxfqxictsgrdgtbjafyoocwtmjblctwwucqmgofrlfmrfrlfwlbtijlwuypmchjqxicrfchumtsmzjbimyvhcuvyrugxjcwpdtpuisrlfdhbaencyqumufeogrhcrjmytqsmsxjmrcsxjrmttiswzvjrfpecjitnidgemdssaitasvjhuyofgxpsxgmvvqfvrxiyxxmymbxfjpufigbeufeuuiiyzfavbaofbxicmsamqfisqwpgrtribbmtskhcwuuimcxufinbitrvpwxsmnbljppytuixgpmlifbgpmtfpeugsodvpkxicsnyrjeswcvokioreoyvnchggkirishiuyrerlfdpjeluasorvpjwzqxfkwgpsnyhsmrfkiblaigpfuiociersflwvpiuusufmoewpliufeuuiemrprwflhdpmuggbjmodsskeugsoygsmwtrlfzecypnyreyftrvbgxblhuusufeuuivqiblsoavjrmdyplcchcrfpeugsonvprsdmpplxiyxdfeolimemwcrufimczfjsgasnkmukiorxicjeylbtitfsxlmobiwcppnmoexigwqjeogenqyscxiyxufizummjvfgrtreucxictpuisqyqnpzumufmoyjfuqplxiqfvrajrlmsglrlfwajjpomxhsitqxiyxxcoomabzsvrmuyreuixgpmnyugxpsxpdfvqmocwtdssjsoeiomyhfxpasncyqumufeqjeomjpsvpurumiynppgxjrmorlfkiblxjkixcrpuoomaufeurlfgvigkicwuqidsvjrcdmqnsrjaeugsoqescioavznxfbytgrhygbbioswdgticvtmafaeoqxbpxisrugrhrlsmyhfxichbrecywfdssmxicvjlxfpgfnxtuidyrdpedixigwnycccxicfscelrlsmyhfaffewcffcrmmslgrhdssgrufiggkirehymoqxufigbemcxtlsuqgscajryqypmrlfzitrlbpvz'" + ] + } + ], + "prompt_number": 4 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "key_a, score = vigenere_frequency_break(c8as)\n", + "key_a, score" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "metadata": {}, + "output_type": "pyout", + "prompt_number": 5, + "text": [ + "('bye', -1461.9840974270046)" + ] + } + ], + "prompt_number": 5 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "' '.join(segment(vigenere_decipher(c8as, key_a)))" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "metadata": {}, + "output_type": "pyout", + "prompt_number": 6, + "text": [ + "'mark i cracked what appears to be the final document about the trojan deployment and i think i have an idea about how to deal with it and with the flag day associates the principal weakness of any system like the one they have installed is the need to provide large quantities of power the fda came up with an ingenious solution but it is very vulnerable special forces could take it out for us but that would tell the fda that we have cracked their ciphers so instead i suggest we let them destroy trojan for us we will need cooperation from the omani government an armed fighter jet and the flight control systems from a drone meanwhile we need to ensure two things one that we do not send critical information across the ba balm and abstrait and two that we use an on critical key generation protocol on that channel given the level of commitment the fda have shown in developing this plan i am sure that they will reinstate the powersupply within a few months but with luck they will not guess that we know about it and we will put it out of business for long enough to come up with a plan of our own to exploit it in the meantime we now know that their highest security communications are encrypted using a caden us cipher so we can start hunting through the database for other intercepts we can crack this maybe the breakthrough we have been looking for in the fight against the fda lets not screw it up all the best harry'" + ] + } + ], + "prompt_number": 6 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "len(c8b) / 8" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "metadata": {}, + "output_type": "pyout", + "prompt_number": 12, + "text": [ + "875.0" + ] + } + ], + "prompt_number": 12 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "[c for c in chunks(c8b, 8)]" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "metadata": {}, + "output_type": "pyout", + "prompt_number": 21, + "text": [ + "['00000001',\n", + " '01000100',\n", + " '00000010',\n", + " '01010001',\n", + " '11010011',\n", + " '10011000',\n", + " '00000101',\n", + " '00110011',\n", + " '11000101',\n", + " '00001110',\n", + " '01011001',\n", + " '00100110',\n", + " '00101001',\n", + " '00010010',\n", + " '00110011',\n", + " '00111100',\n", + " '10001111',\n", + " '00111000',\n", + " '10000000',\n", + " '11101010',\n", + " '11000011',\n", + " '10100010',\n", + " '11110010',\n", + " '11000100',\n", + " '11000100',\n", + " '01110000',\n", + " '00000110',\n", + " '11110111',\n", + " '10100101',\n", + " '10100110',\n", + " '01011100',\n", + " '11001001',\n", + " '00010110',\n", + " '10010000',\n", + " '10100100',\n", + " '01110001',\n", + " '01010000',\n", + " '11101000',\n", + " '11001110',\n", + " '01000011',\n", + " '00011011',\n", + " '10001000',\n", + " '01001010',\n", + " '00110010',\n", + " '01000010',\n", + " '10001101',\n", + " '00001001',\n", + " '00010110',\n", + " '10010100',\n", + " '10010011',\n", + " '01011000',\n", + " '00000000',\n", + " '01011001',\n", + " '01001110',\n", + " '11001000',\n", + " '00100011',\n", + " '01100111',\n", + " '00011010',\n", + " '10111001',\n", + " '11001101',\n", + " '00100100',\n", + " '01001111',\n", + " '01000000',\n", + " '00011110',\n", + " '00100000',\n", + " '10101001',\n", + " '00100010',\n", + " '01000010',\n", + " '01001110',\n", + " '01010101',\n", + " '10010010',\n", + " '00001000',\n", + " '10110011',\n", + " '10101101',\n", + " '11010010',\n", + " '10011000',\n", + " '11011100',\n", + " '00000101',\n", + " '10111011',\n", + " '00000000',\n", + " '00100100',\n", + " '10011000',\n", + " '11010110',\n", + " '10001101',\n", + " '00000110',\n", + " '01101011',\n", + " '01100010',\n", + " '01110111',\n", + " '00011100',\n", + " '11110011',\n", + " '10010011',\n", + " '01000000',\n", + " '11100100',\n", + " '00101101',\n", + " '10100010',\n", + " '01101100',\n", + " '10100100',\n", + " '10000001',\n", + " '01000100',\n", + " '10000000',\n", + " '01101011',\n", + " '01001000',\n", + " '01000100',\n", + " '00100001',\n", + " '00000100',\n", + " '10001101',\n", + " '10100110',\n", + " '00000110',\n", + " '10010010',\n", + " '01010001',\n", + " '10101011',\n", + " '10001100',\n", + " '10000010',\n", + " '00100011',\n", + " '00010110',\n", + " '10010100',\n", + " '10000110',\n", + " '01100111',\n", + " '11010101',\n", + " '11001000',\n", + " '00000010',\n", + " '00100100',\n", + " '00000111',\n", + " '00000000',\n", + " '10001110',\n", + " '00000001',\n", + " '00000111',\n", + " '00010110',\n", + " '10100010',\n", + " '01110001',\n", + " '01101101',\n", + " '11001000',\n", + " '10000011',\n", + " '01000101',\n", + " '11110010',\n", + " '10010001',\n", + " '11000000',\n", + " '00110011',\n", + " '10001110',\n", + " '01101110',\n", + " '01000011',\n", + " '11000000',\n", + " '00001001',\n", + " '10010010',\n", + " '11100100',\n", + " '01101011',\n", + " '01001001',\n", + " '00100000',\n", + " '00011010',\n", + " '00101110',\n", + " '00001100',\n", + " '11010110',\n", + " '01001001',\n", + " '01000101',\n", + " '10110001',\n", + " '01110010',\n", + " '00100011',\n", + " '10000111',\n", + " '10000100',\n", + " '11000100',\n", + " '00011000',\n", + " '10010110',\n", + " '10110100',\n", + " '01011000',\n", + " '00001011',\n", + " '00000010',\n", + " '11001000',\n", + " '01000110',\n", + " '10100000',\n", + " '11010001',\n", + " '10001011',\n", + " '01101101',\n", + " '10001000',\n", + " '10101101',\n", + " '00001100',\n", + " '01011011',\n", + " '11100101',\n", + " '00110111',\n", + " '00101100',\n", + " '10000101',\n", + " '10011100',\n", + " '01000110',\n", + " '11001010',\n", + " '00000010',\n", + " '00101000',\n", + " '00100001',\n", + " '00001000',\n", + " '10000100',\n", + " '00000001',\n", + " '11001011',\n", + " '01101001',\n", + " '00101101',\n", + " '00100000',\n", + " '00111000',\n", + " '11110001',\n", + " '10011010',\n", + " '11100101',\n", + " '00110111',\n", + " '00000100',\n", + " '10010011',\n", + " '01101100',\n", + " '10010111',\n", + " '01010010',\n", + " '10100010',\n", + " '10100011',\n", + " '01110101',\n", + " '01100110',\n", + " '11110111',\n", + " '00000000',\n", + " '10000100',\n", + " '01000100',\n", + " '10000100',\n", + " '10000111',\n", + " '00011101',\n", + " '00001111',\n", + " '10010001',\n", + " '00101010',\n", + " '01000010',\n", + " '00001110',\n", + " '01100100',\n", + " '10110001',\n", + " '01000001',\n", + " '00010110',\n", + " '10011100',\n", + " '10000001',\n", + " '01011001',\n", + " '00000000',\n", + " '11101001',\n", + " '10111000',\n", + " '11110011',\n", + " '10011100',\n", + " '11001000',\n", + " '11110110',\n", + " '10001001',\n", + " '01000000',\n", + " '01110011',\n", + " '01001111',\n", + " '01100010',\n", + " '01001101',\n", + " '10010101',\n", + " '11000011',\n", + " '11100011',\n", + " '00010010',\n", + " '00111001',\n", + " '10101101',\n", + " '00000100',\n", + " '10001100',\n", + " '00110010',\n", + " '00001101',\n", + " '11000100',\n", + " '00100001',\n", + " '00011100',\n", + " '00000000',\n", + " '00110010',\n", + " '01100010',\n", + " '01000000',\n", + " '10100111',\n", + " '00110100',\n", + " '00010101',\n", + " '10100000',\n", + " '00011100',\n", + " '01001001',\n", + " '00101000',\n", + " '11001110',\n", + " '01000100',\n", + " '10001011',\n", + " '10100100',\n", + " '01001001',\n", + " '11000100',\n", + " '11100010',\n", + " '01000000',\n", + " '10100110',\n", + " '11111001',\n", + " '00000000',\n", + " '00000100',\n", + " '00111010',\n", + " '11000110',\n", + " '01111001',\n", + " '00010110',\n", + " '11110010',\n", + " '01110000',\n", + " '00011101',\n", + " '00110001',\n", + " '01001100',\n", + " '00100001',\n", + " '10010011',\n", + " '10001000',\n", + " '10001000',\n", + " '10110110',\n", + " '01000000',\n", + " '00011010',\n", + " '11110001',\n", + " '00111000',\n", + " '11000110',\n", + " '10001101',\n", + " '10001000',\n", + " '10001000',\n", + " '11111001',\n", + " '11001100',\n", + " '11110001',\n", + " '00100101',\n", + " '00001110',\n", + " '11010101',\n", + " '01001100',\n", + " '00000010',\n", + " '00100000',\n", + " '10001000',\n", + " '01000101',\n", + " '11000110',\n", + " '11001101',\n", + " '01000100',\n", + " '01001000',\n", + " '01000010',\n", + " '00000000',\n", + " '10010010',\n", + " '00100001',\n", + " '00001000',\n", + " '10000001',\n", + " '10100010',\n", + " '01001110',\n", + " '00110000',\n", + " '10001000',\n", + " '11100110',\n", + " '00110110',\n", + " '00110011',\n", + " '00100010',\n", + " '01001110',\n", + " '00000011',\n", + " '00000000',\n", + " '00110010',\n", + " '00100011',\n", + " '01010001',\n", + " '00110101',\n", + " '11011010',\n", + " '01110001',\n", + " '01101000',\n", + " '01011000',\n", + " '10000010',\n", + " '00101110',\n", + " '01000000',\n", + " '10001001',\n", + " '00100110',\n", + " '01001001',\n", + " '01000101',\n", + " '10100110',\n", + " '10010011',\n", + " '01001110',\n", + " '01000000',\n", + " '10100001',\n", + " '11010010',\n", + " '00011010',\n", + " '00001000',\n", + " '11010000',\n", + " '00010101',\n", + " '01100100',\n", + " '01000100',\n", + " '10000000',\n", + " '01110111',\n", + " '00001001',\n", + " '00000101',\n", + " '00100101',\n", + " '01011000',\n", + " '01010000',\n", + " '01001100',\n", + " '00001101',\n", + " '00000100',\n", + " '11100010',\n", + " '11010100',\n", + " '00000000',\n", + " '11001101',\n", + " '00111000',\n", + " '00100110',\n", + " '11010110',\n", + " '00100000',\n", + " '00101101',\n", + " '01000101',\n", + " '00001010',\n", + " '01000110',\n", + " '11000110',\n", + " '01101110',\n", + " '10011100',\n", + " '11100010',\n", + " '11011100',\n", + " '00111100',\n", + " '00001000',\n", + " '00011110',\n", + " '00010000',\n", + " '01000011',\n", + " '00001101',\n", + " '10101100',\n", + " '00100100',\n", + " '01001110',\n", + " '01110100',\n", + " '00111010',\n", + " '01110001',\n", + " '00100100',\n", + " '11000100',\n", + " '01001001',\n", + " '01001000',\n", + " '10001000',\n", + " '01011000',\n", + " '11100010',\n", + " '00010001',\n", + " '00010001',\n", + " '11110001',\n", + " '01000001',\n", + " '10000000',\n", + " '01001001',\n", + " '00111000',\n", + " '00000011',\n", + " '01011100',\n", + " '11000000',\n", + " '01110100',\n", + " '00010010',\n", + " '10100100',\n", + " '00001100',\n", + " '01000100',\n", + " '01000110',\n", + " '10101100',\n", + " '10010101',\n", + " '00000100',\n", + " '10000000',\n", + " '00110110',\n", + " '10110110',\n", + " '01100111',\n", + " '01101001',\n", + " '00010001',\n", + " '00110010',\n", + " '00100001',\n", + " '00010010',\n", + " '00000001',\n", + " '11101000',\n", + " '01110011',\n", + " '11010000',\n", + " '00001100',\n", + " '01110011',\n", + " '01001000',\n", + " '01011100',\n", + " '00011101',\n", + " '01101110',\n", + " '01101101',\n", + " '10001110',\n", + " '00000010',\n", + " '00010000',\n", + " '10000100',\n", + " '01110100',\n", + " '10011010',\n", + " '01000010',\n", + " '01100000',\n", + " '00001101',\n", + " '00100010',\n", + " '00100100',\n", + " '01001001',\n", + " '10111000',\n", + " '11011000',\n", + " '01000100',\n", + " '11001001',\n", + " '00010101',\n", + " '10100000',\n", + " '11110011',\n", + " '00010011',\n", + " '00010000',\n", + " '11100100',\n", + " '01000100',\n", + " '00010001',\n", + " '00101000',\n", + " '11011100',\n", + " '01001001',\n", + " '10110101',\n", + " '00000111',\n", + " '10011011',\n", + " '01001000',\n", + " '01110100',\n", + " '00100001',\n", + " '01000000',\n", + " '01100100',\n", + " '01000110',\n", + " '11000110',\n", + " '10000000',\n", + " '01100000',\n", + " '01101000',\n", + " '00011100',\n", + " '00111001',\n", + " '00010010',\n", + " '01000100',\n", + " '01000110',\n", + " '00000100',\n", + " '10111001',\n", + " '00100000',\n", + " '00001101',\n", + " '10011000',\n", + " '00011100',\n", + " '10111001',\n", + " '10001001',\n", + " '00011000',\n", + " '01100010',\n", + " '00000110',\n", + " '01000110',\n", + " '11001110',\n", + " '01100111',\n", + " '01011100',\n", + " '11011010',\n", + " '00111011',\n", + " '11001110',\n", + " '01110011',\n", + " '01100000',\n", + " '00100100',\n", + " '00010101',\n", + " '10010000',\n", + " '00000100',\n", + " '00100100',\n", + " '11010110',\n", + " '10001001',\n", + " '00100010',\n", + " '00110011',\n", + " '10110100',\n", + " '11101001',\n", + " '00010111',\n", + " '10010100',\n", + " '00001000',\n", + " '01011100',\n", + " '11001000',\n", + " '00000111',\n", + " '00010000',\n", + " '10100100',\n", + " '01000100',\n", + " '10010000',\n", + " '10000100',\n", + " '01100001',\n", + " '00010010',\n", + " '01000010',\n", + " '10101011',\n", + " '00111011',\n", + " '00100010',\n", + " '01001111',\n", + " '10001000',\n", + " '01100100',\n", + " '10000110',\n", + " '10010001',\n", + " '01101111',\n", + " '00111100',\n", + " '01011000',\n", + " '11100011',\n", + " '10100000',\n", + " '00000110',\n", + " '01101010',\n", + " '11100100',\n", + " '10111010',\n", + " '10100010',\n", + " '01101110',\n", + " '00011000',\n", + " '00010001',\n", + " '00100001',\n", + " '10111101',\n", + " '10111000',\n", + " '00011000',\n", + " '11000100',\n", + " '00000000',\n", + " '00111010',\n", + " '01100000',\n", + " '00111000',\n", + " '10001000',\n", + " '01111001',\n", + " '11010000',\n", + " '10001000',\n", + " '10001100',\n", + " '01001000',\n", + " '00110000',\n", + " '00010000',\n", + " '01010011',\n", + " '01110100',\n", + " '10011011',\n", + " '00010011',\n", + " '11010101',\n", + " '10100000',\n", + " '01110000',\n", + " '11011100',\n", + " '10000101',\n", + " '00111000',\n", + " '10010011',\n", + " '00010010',\n", + " '00011010',\n", + " '01000110',\n", + " '10010010',\n", + " '10010001',\n", + " '10001010',\n", + " '00100100',\n", + " '00110001',\n", + " '00111010',\n", + " '10010001',\n", + " '00000001',\n", + " '10010111',\n", + " '01010100',\n", + " '00110001',\n", + " '10010100',\n", + " '01111011',\n", + " '11000110',\n", + " '10001001',\n", + " '10010000',\n", + " '00001101',\n", + " '00011010',\n", + " '00100110',\n", + " '11000000',\n", + " '00000001',\n", + " '00000000',\n", + " '01000001',\n", + " '00010110',\n", + " '01000111',\n", + " '00110101',\n", + " '10110001',\n", + " '00100001',\n", + " '00000110',\n", + " '00000111',\n", + " '00001100',\n", + " '00101110',\n", + " '01000101',\n", + " '00011000',\n", + " '01000101',\n", + " '11000101',\n", + " '11010011',\n", + " '01101100',\n", + " '11100111',\n", + " '00110011',\n", + " '00100010',\n", + " '01101101',\n", + " '10001010',\n", + " '11100010',\n", + " '10000010',\n", + " '00110101',\n", + " '10101000',\n", + " '01010010',\n", + " '11110001',\n", + " '00100111',\n", + " '00011010',\n", + " '01010011',\n", + " '00010010',\n", + " '00001011',\n", + " '10000111',\n", + " '10100001',\n", + " '11110101',\n", + " '01000000',\n", + " '11101011',\n", + " '00101001',\n", + " '00110001',\n", + " '10100010',\n", + " '00100010',\n", + " '00000001',\n", + " '00100100',\n", + " '00100010',\n", + " '01110010',\n", + " '01101011',\n", + " '01001000',\n", + " '00001001',\n", + " '10100010',\n", + " '01101110',\n", + " '01100100',\n", + " '01001110',\n", + " '00010110',\n", + " '10011101',\n", + " '10101000',\n", + " '00011011',\n", + " '11100010',\n", + " '10111000',\n", + " '10010001',\n", + " '11101110',\n", + " '11000011',\n", + " '01000000',\n", + " '10111001',\n", + " '00110110',\n", + " '10110010',\n", + " '00011011',\n", + " '10100100',\n", + " '00000110',\n", + " '10010010',\n", + " '01001000',\n", + " '10011001',\n", + " '01000000',\n", + " '01000110',\n", + " '10101110',\n", + " '01100110',\n", + " '01110000',\n", + " '11000001',\n", + " '00111001',\n", + " '10010000',\n", + " '10000000',\n", + " '01000100',\n", + " '10010000',\n", + " '00101000',\n", + " '10111001',\n", + " '11010011',\n", + " '01100100',\n", + " '10011000',\n", + " '01010011',\n", + " '10000010',\n", + " '10000100',\n", + " '01101010',\n", + " '00100011',\n", + " '00100011',\n", + " '00011111',\n", + " '00001101',\n", + " '10110001',\n", + " '00010000',\n", + " '11011001',\n", + " '10010000',\n", + " '11001110',\n", + " '00011010',\n", + " '00010000',\n", + " '10110010',\n", + " '00010000',\n", + " '01110011',\n", + " '00000100',\n", + " '01011010',\n", + " '11101001',\n", + " '01000100',\n", + " '01000000',\n", + " '00000001',\n", + " '00011010',\n", + " '00111001',\n", + " '10001010',\n", + " '10010011',\n", + " '10011001',\n", + " '01000111',\n", + " '00010000',\n", + " '10010000',\n", + " '11110011',\n", + " '01100001',\n", + " '01010001',\n", + " '00110111',\n", + " '00111010',\n", + " '00100011',\n", + " '10001101',\n", + " '00010000',\n", + " '00000111',\n", + " '01100000',\n", + " '00000000',\n", + " '01101011',\n", + " '10001000',\n", + " '01000101',\n", + " '10001101',\n", + " '11001000',\n", + " '01101001',\n", + " '11101001',\n", + " '00100011',\n", + " '00100010',\n", + " '01100100',\n", + " '00000011',\n", + " '10100010',\n", + " '10000010',\n", + " '00001000',\n", + " '10010101',\n", + " '00100011',\n", + " '00011011',\n", + " '00111000',\n", + " '10000010',\n", + " '01101100',\n", + " '10011001',\n", + " '01011110',\n", + " '01001010',\n", + " '00001010',\n", + " '10010011',\n", + " '00000001',\n", + " '11000000',\n", + " '11001001',\n", + " '10110100',\n", + " '10010110',\n", + " '01110011',\n", + " '01010000',\n", + " '00100001',\n", + " '10010000',\n", + " '10001100',\n", + " '10001011',\n", + " '11000000',\n", + " '11100101',\n", + " '10100010',\n", + " '01101110',\n", + " '00000001',\n", + " '01001001',\n", + " '00100111',\n", + " '00111010',\n", + " '01010010',\n", + " '01111001',\n", + " '01011010',\n", + " '10110110',\n", + " '10010000',\n", + " '10001110',\n", + " '01110100',\n", + " '11000000',\n", + " '00100011',\n", + " '10101101',\n", + " '01101000',\n", + " '10001100',\n", + " '10100101',\n", + " '01111001',\n", + " '00111000',\n", + " '10101111',\n", + " '00011001',\n", + " '01100110',\n", + " '01011000',\n", + " '10110101',\n", + " '11110001',\n", + " '00000001',\n", + " '00001000',\n", + " '00001100',\n", + " '00101101',\n", + " '11001101',\n", + " '00000001',\n", + " '11000001',\n", + " '01001001',\n", + " '10110110',\n", + " '01100010',\n", + " '01101100',\n", + " '11000100',\n", + " '00010000',\n", + " '01011001',\n", + " '01101110',\n", + " '01101001',\n", + " '00001011',\n", + " '00110111',\n", + " '00000010',\n", + " '01100100',\n", + " '00010101',\n", + " '01011101',\n", + " '01100001',\n", + " '10101110',\n", + " '11010101',\n", + " '01101011',\n", + " '01001000',\n", + " '01000001',\n", + " '11001101',\n", + " '00001000',\n", + " '01110010',\n", + " '00001101',\n", + " '00110010',\n", + " '00011001',\n", + " '10010011',\n", + " '00000001',\n", + " '11001000',\n", + " '01000000',\n", + " '01001100',\n", + " '10000101',\n", + " '00000000',\n", + " '00001000',\n", + " '11111000',\n", + " '11000100',\n", + " '01010001',\n", + " '01110100',\n", + " '10001110',\n", + " '01000010',\n", + " '01000110',\n", + " '00101111',\n", + " '00000010',\n", + " '11001000',\n", + " '00110100',\n", + " '00010001',\n", + " '10100110',\n", + " '01000000',\n", + " '11100011',\n", + " '00010010',\n", + " '00111010',\n", + " '10000111',\n", + " '10101001',\n", + " '00100101',\n", + " '01001000',\n", + " '10111011',\n", + " '00010011',\n", + " '01101100',\n", + " '10011101',\n", + " '00100100',\n", + " '00110110',\n", + " '10001000',\n", + " '10100010',\n", + " '00011100',\n", + " '01010111',\n", + " '11000100',\n", + " '01100000']" + ] + } + ], + "prompt_number": 21 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "[(int(c, 2)) for c in chunks(c8b, 8)]" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "metadata": {}, + "output_type": "pyout", + "prompt_number": 20, + "text": [ + "[1,\n", + " 68,\n", + " 2,\n", + " 81,\n", + " 211,\n", + " 152,\n", + " 5,\n", + " 51,\n", + " 197,\n", + " 14,\n", + " 89,\n", + " 38,\n", + " 41,\n", + " 18,\n", + " 51,\n", + " 60,\n", + " 143,\n", + " 56,\n", + " 128,\n", + " 234,\n", + " 195,\n", + " 162,\n", + " 242,\n", + " 196,\n", + " 196,\n", + " 112,\n", + " 6,\n", + " 247,\n", + " 165,\n", + " 166,\n", + " 92,\n", + " 201,\n", + " 22,\n", + " 144,\n", + " 164,\n", + " 113,\n", + " 80,\n", + " 232,\n", + " 206,\n", + " 67,\n", + " 27,\n", + " 136,\n", + " 74,\n", + " 50,\n", + " 66,\n", + " 141,\n", + " 9,\n", + " 22,\n", + " 148,\n", + " 147,\n", + " 88,\n", + " 0,\n", + " 89,\n", + " 78,\n", + " 200,\n", + " 35,\n", + " 103,\n", + " 26,\n", + " 185,\n", + " 205,\n", + " 36,\n", + " 79,\n", + " 64,\n", + " 30,\n", + " 32,\n", + " 169,\n", + " 34,\n", + " 66,\n", + " 78,\n", + " 85,\n", + " 146,\n", + " 8,\n", + " 179,\n", + " 173,\n", + " 210,\n", + " 152,\n", + " 220,\n", + " 5,\n", + " 187,\n", + " 0,\n", + " 36,\n", + " 152,\n", + " 214,\n", + " 141,\n", + " 6,\n", + " 107,\n", + " 98,\n", + " 119,\n", + " 28,\n", + " 243,\n", + " 147,\n", + " 64,\n", + " 228,\n", + " 45,\n", + " 162,\n", + " 108,\n", + " 164,\n", + " 129,\n", + " 68,\n", + " 128,\n", + " 107,\n", + " 72,\n", + " 68,\n", + " 33,\n", + " 4,\n", + " 141,\n", + " 166,\n", + " 6,\n", + " 146,\n", + " 81,\n", + " 171,\n", + " 140,\n", + " 130,\n", + " 35,\n", + " 22,\n", + " 148,\n", + " 134,\n", + " 103,\n", + " 213,\n", + " 200,\n", + " 2,\n", + " 36,\n", + " 7,\n", + " 0,\n", + " 142,\n", + " 1,\n", + " 7,\n", + " 22,\n", + " 162,\n", + " 113,\n", + " 109,\n", + " 200,\n", + " 131,\n", + " 69,\n", + " 242,\n", + " 145,\n", + " 192,\n", + " 51,\n", + " 142,\n", + " 110,\n", + " 67,\n", + " 192,\n", + " 9,\n", + " 146,\n", + " 228,\n", + " 107,\n", + " 73,\n", + " 32,\n", + " 26,\n", + " 46,\n", + " 12,\n", + " 214,\n", + " 73,\n", + " 69,\n", + " 177,\n", + " 114,\n", + " 35,\n", + " 135,\n", + " 132,\n", + " 196,\n", + " 24,\n", + " 150,\n", + " 180,\n", + " 88,\n", + " 11,\n", + " 2,\n", + " 200,\n", + " 70,\n", + " 160,\n", + " 209,\n", + " 139,\n", + " 109,\n", + " 136,\n", + " 173,\n", + " 12,\n", + " 91,\n", + " 229,\n", + " 55,\n", + " 44,\n", + " 133,\n", + " 156,\n", + " 70,\n", + " 202,\n", + " 2,\n", + " 40,\n", + " 33,\n", + " 8,\n", + " 132,\n", + " 1,\n", + " 203,\n", + " 105,\n", + " 45,\n", + " 32,\n", + " 56,\n", + " 241,\n", + " 154,\n", + " 229,\n", + " 55,\n", + " 4,\n", + " 147,\n", + " 108,\n", + " 151,\n", + " 82,\n", + " 162,\n", + " 163,\n", + " 117,\n", + " 102,\n", + " 247,\n", + " 0,\n", + " 132,\n", + " 68,\n", + " 132,\n", + " 135,\n", + " 29,\n", + " 15,\n", + " 145,\n", + " 42,\n", + " 66,\n", + " 14,\n", + " 100,\n", + " 177,\n", + " 65,\n", + " 22,\n", + " 156,\n", + " 129,\n", + " 89,\n", + " 0,\n", + " 233,\n", + " 184,\n", + " 243,\n", + " 156,\n", + " 200,\n", + " 246,\n", + " 137,\n", + " 64,\n", + " 115,\n", + " 79,\n", + " 98,\n", + " 77,\n", + " 149,\n", + " 195,\n", + " 227,\n", + " 18,\n", + " 57,\n", + " 173,\n", + " 4,\n", + " 140,\n", + " 50,\n", + " 13,\n", + " 196,\n", + " 33,\n", + " 28,\n", + " 0,\n", + " 50,\n", + " 98,\n", + " 64,\n", + " 167,\n", + " 52,\n", + " 21,\n", + " 160,\n", + " 28,\n", + " 73,\n", + " 40,\n", + " 206,\n", + " 68,\n", + " 139,\n", + " 164,\n", + " 73,\n", + " 196,\n", + " 226,\n", + " 64,\n", + " 166,\n", + " 249,\n", + " 0,\n", + " 4,\n", + " 58,\n", + " 198,\n", + " 121,\n", + " 22,\n", + " 242,\n", + " 112,\n", + " 29,\n", + " 49,\n", + " 76,\n", + " 33,\n", + " 147,\n", + " 136,\n", + " 136,\n", + " 182,\n", + " 64,\n", + " 26,\n", + " 241,\n", + " 56,\n", + " 198,\n", + " 141,\n", + " 136,\n", + " 136,\n", + " 249,\n", + " 204,\n", + " 241,\n", + " 37,\n", + " 14,\n", + " 213,\n", + " 76,\n", + " 2,\n", + " 32,\n", + " 136,\n", + " 69,\n", + " 198,\n", + " 205,\n", + " 68,\n", + " 72,\n", + " 66,\n", + " 0,\n", + " 146,\n", + " 33,\n", + " 8,\n", + " 129,\n", + " 162,\n", + " 78,\n", + " 48,\n", + " 136,\n", + " 230,\n", + " 54,\n", + " 51,\n", + " 34,\n", + " 78,\n", + " 3,\n", + " 0,\n", + " 50,\n", + " 35,\n", + " 81,\n", + " 53,\n", + " 218,\n", + " 113,\n", + " 104,\n", + " 88,\n", + " 130,\n", + " 46,\n", + " 64,\n", + " 137,\n", + " 38,\n", + " 73,\n", + " 69,\n", + " 166,\n", + " 147,\n", + " 78,\n", + " 64,\n", + " 161,\n", + " 210,\n", + " 26,\n", + " 8,\n", + " 208,\n", + " 21,\n", + " 100,\n", + " 68,\n", + " 128,\n", + " 119,\n", + " 9,\n", + " 5,\n", + " 37,\n", + " 88,\n", + " 80,\n", + " 76,\n", + " 13,\n", + " 4,\n", + " 226,\n", + " 212,\n", + " 0,\n", + " 205,\n", + " 56,\n", + " 38,\n", + " 214,\n", + " 32,\n", + " 45,\n", + " 69,\n", + " 10,\n", + " 70,\n", + " 198,\n", + " 110,\n", + " 156,\n", + " 226,\n", + " 220,\n", + " 60,\n", + " 8,\n", + " 30,\n", + " 16,\n", + " 67,\n", + " 13,\n", + " 172,\n", + " 36,\n", + " 78,\n", + " 116,\n", + " 58,\n", + " 113,\n", + " 36,\n", + " 196,\n", + " 73,\n", + " 72,\n", + " 136,\n", + " 88,\n", + " 226,\n", + " 17,\n", + " 17,\n", + " 241,\n", + " 65,\n", + " 128,\n", + " 73,\n", + " 56,\n", + " 3,\n", + " 92,\n", + " 192,\n", + " 116,\n", + " 18,\n", + " 164,\n", + " 12,\n", + " 68,\n", + " 70,\n", + " 172,\n", + " 149,\n", + " 4,\n", + " 128,\n", + " 54,\n", + " 182,\n", + " 103,\n", + " 105,\n", + " 17,\n", + " 50,\n", + " 33,\n", + " 18,\n", + " 1,\n", + " 232,\n", + " 115,\n", + " 208,\n", + " 12,\n", + " 115,\n", + " 72,\n", + " 92,\n", + " 29,\n", + " 110,\n", + " 109,\n", + " 142,\n", + " 2,\n", + " 16,\n", + " 132,\n", + " 116,\n", + " 154,\n", + " 66,\n", + " 96,\n", + " 13,\n", + " 34,\n", + " 36,\n", + " 73,\n", + " 184,\n", + " 216,\n", + " 68,\n", + " 201,\n", + " 21,\n", + " 160,\n", + " 243,\n", + " 19,\n", + " 16,\n", + " 228,\n", + " 68,\n", + " 17,\n", + " 40,\n", + " 220,\n", + " 73,\n", + " 181,\n", + " 7,\n", + " 155,\n", + " 72,\n", + " 116,\n", + " 33,\n", + " 64,\n", + " 100,\n", + " 70,\n", + " 198,\n", + " 128,\n", + " 96,\n", + " 104,\n", + " 28,\n", + " 57,\n", + " 18,\n", + " 68,\n", + " 70,\n", + " 4,\n", + " 185,\n", + " 32,\n", + " 13,\n", + " 152,\n", + " 28,\n", + " 185,\n", + " 137,\n", + " 24,\n", + " 98,\n", + " 6,\n", + " 70,\n", + " 206,\n", + " 103,\n", + " 92,\n", + " 218,\n", + " 59,\n", + " 206,\n", + " 115,\n", + " 96,\n", + " 36,\n", + " 21,\n", + " 144,\n", + " 4,\n", + " 36,\n", + " 214,\n", + " 137,\n", + " 34,\n", + " 51,\n", + " 180,\n", + " 233,\n", + " 23,\n", + " 148,\n", + " 8,\n", + " 92,\n", + " 200,\n", + " 7,\n", + " 16,\n", + " 164,\n", + " 68,\n", + " 144,\n", + " 132,\n", + " 97,\n", + " 18,\n", + " 66,\n", + " 171,\n", + " 59,\n", + " 34,\n", + " 79,\n", + " 136,\n", + " 100,\n", + " 134,\n", + " 145,\n", + " 111,\n", + " 60,\n", + " 88,\n", + " 227,\n", + " 160,\n", + " 6,\n", + " 106,\n", + " 228,\n", + " 186,\n", + " 162,\n", + " 110,\n", + " 24,\n", + " 17,\n", + " 33,\n", + " 189,\n", + " 184,\n", + " 24,\n", + " 196,\n", + " 0,\n", + " 58,\n", + " 96,\n", + " 56,\n", + " 136,\n", + " 121,\n", + " 208,\n", + " 136,\n", + " 140,\n", + " 72,\n", + " 48,\n", + " 16,\n", + " 83,\n", + " 116,\n", + " 155,\n", + " 19,\n", + " 213,\n", + " 160,\n", + " 112,\n", + " 220,\n", + " 133,\n", + " 56,\n", + " 147,\n", + " 18,\n", + " 26,\n", + " 70,\n", + " 146,\n", + " 145,\n", + " 138,\n", + " 36,\n", + " 49,\n", + " 58,\n", + " 145,\n", + " 1,\n", + " 151,\n", + " 84,\n", + " 49,\n", + " 148,\n", + " 123,\n", + " 198,\n", + " 137,\n", + " 144,\n", + " 13,\n", + " 26,\n", + " 38,\n", + " 192,\n", + " 1,\n", + " 0,\n", + " 65,\n", + " 22,\n", + " 71,\n", + " 53,\n", + " 177,\n", + " 33,\n", + " 6,\n", + " 7,\n", + " 12,\n", + " 46,\n", + " 69,\n", + " 24,\n", + " 69,\n", + " 197,\n", + " 211,\n", + " 108,\n", + " 231,\n", + " 51,\n", + " 34,\n", + " 109,\n", + " 138,\n", + " 226,\n", + " 130,\n", + " 53,\n", + " 168,\n", + " 82,\n", + " 241,\n", + " 39,\n", + " 26,\n", + " 83,\n", + " 18,\n", + " 11,\n", + " 135,\n", + " 161,\n", + " 245,\n", + " 64,\n", + " 235,\n", + " 41,\n", + " 49,\n", + " 162,\n", + " 34,\n", + " 1,\n", + " 36,\n", + " 34,\n", + " 114,\n", + " 107,\n", + " 72,\n", + " 9,\n", + " 162,\n", + " 110,\n", + " 100,\n", + " 78,\n", + " 22,\n", + " 157,\n", + " 168,\n", + " 27,\n", + " 226,\n", + " 184,\n", + " 145,\n", + " 238,\n", + " 195,\n", + " 64,\n", + " 185,\n", + " 54,\n", + " 178,\n", + " 27,\n", + " 164,\n", + " 6,\n", + " 146,\n", + " 72,\n", + " 153,\n", + " 64,\n", + " 70,\n", + " 174,\n", + " 102,\n", + " 112,\n", + " 193,\n", + " 57,\n", + " 144,\n", + " 128,\n", + " 68,\n", + " 144,\n", + " 40,\n", + " 185,\n", + " 211,\n", + " 100,\n", + " 152,\n", + " 83,\n", + " 130,\n", + " 132,\n", + " 106,\n", + " 35,\n", + " 35,\n", + " 31,\n", + " 13,\n", + " 177,\n", + " 16,\n", + " 217,\n", + " 144,\n", + " 206,\n", + " 26,\n", + " 16,\n", + " 178,\n", + " 16,\n", + " 115,\n", + " 4,\n", + " 90,\n", + " 233,\n", + " 68,\n", + " 64,\n", + " 1,\n", + " 26,\n", + " 57,\n", + " 138,\n", + " 147,\n", + " 153,\n", + " 71,\n", + " 16,\n", + " 144,\n", + " 243,\n", + " 97,\n", + " 81,\n", + " 55,\n", + " 58,\n", + " 35,\n", + " 141,\n", + " 16,\n", + " 7,\n", + " 96,\n", + " 0,\n", + " 107,\n", + " 136,\n", + " 69,\n", + " 141,\n", + " 200,\n", + " 105,\n", + " 233,\n", + " 35,\n", + " 34,\n", + " 100,\n", + " 3,\n", + " 162,\n", + " 130,\n", + " 8,\n", + " 149,\n", + " 35,\n", + " 27,\n", + " 56,\n", + " 130,\n", + " 108,\n", + " 153,\n", + " 94,\n", + " 74,\n", + " 10,\n", + " 147,\n", + " 1,\n", + " 192,\n", + " 201,\n", + " 180,\n", + " 150,\n", + " 115,\n", + " 80,\n", + " 33,\n", + " 144,\n", + " 140,\n", + " 139,\n", + " 192,\n", + " 229,\n", + " 162,\n", + " 110,\n", + " 1,\n", + " 73,\n", + " 39,\n", + " 58,\n", + " 82,\n", + " 121,\n", + " 90,\n", + " 182,\n", + " 144,\n", + " 142,\n", + " 116,\n", + " 192,\n", + " 35,\n", + " 173,\n", + " 104,\n", + " 140,\n", + " 165,\n", + " 121,\n", + " 56,\n", + " 175,\n", + " 25,\n", + " 102,\n", + " 88,\n", + " 181,\n", + " 241,\n", + " 1,\n", + " 8,\n", + " 12,\n", + " 45,\n", + " 205,\n", + " 1,\n", + " 193,\n", + " 73,\n", + " 182,\n", + " 98,\n", + " 108,\n", + " 196,\n", + " 16,\n", + " 89,\n", + " 110,\n", + " 105,\n", + " 11,\n", + " 55,\n", + " 2,\n", + " 100,\n", + " 21,\n", + " 93,\n", + " 97,\n", + " 174,\n", + " 213,\n", + " 107,\n", + " 72,\n", + " 65,\n", + " 205,\n", + " 8,\n", + " 114,\n", + " 13,\n", + " 50,\n", + " 25,\n", + " 147,\n", + " 1,\n", + " 200,\n", + " 64,\n", + " 76,\n", + " 133,\n", + " 0,\n", + " 8,\n", + " 248,\n", + " 196,\n", + " 81,\n", + " 116,\n", + " 142,\n", + " 66,\n", + " 70,\n", + " 47,\n", + " 2,\n", + " 200,\n", + " 52,\n", + " 17,\n", + " 166,\n", + " 64,\n", + " 227,\n", + " 18,\n", + " 58,\n", + " 135,\n", + " 169,\n", + " 37,\n", + " 72,\n", + " 187,\n", + " 19,\n", + " 108,\n", + " 157,\n", + " 36,\n", + " 54,\n", + " 136,\n", + " 162,\n", + " 28,\n", + " 87,\n", + " 196,\n", + " 96]" + ] + } + ], + "prompt_number": 20 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "bytes([(int(c, 2)) for c in chunks(c8b, 8)])" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "metadata": {}, + "output_type": "pyout", + "prompt_number": 18, + "text": [ + "b'\\x01D\\x02Q\\xd3\\x98\\x053\\xc5\\x0eY&)\\x123<\\x8f8\\x80\\xea\\xc3\\xa2\\xf2\\xc4\\xc4p\\x06\\xf7\\xa5\\xa6\\\\\\xc9\\x16\\x90\\xa4qP\\xe8\\xceC\\x1b\\x88J2B\\x8d\\t\\x16\\x94\\x93X\\x00YN\\xc8#g\\x1a\\xb9\\xcd$O@\\x1e \\xa9\"BNU\\x92\\x08\\xb3\\xad\\xd2\\x98\\xdc\\x05\\xbb\\x00$\\x98\\xd6\\x8d\\x06kbw\\x1c\\xf3\\x93@\\xe4-\\xa2l\\xa4\\x81D\\x80kHD!\\x04\\x8d\\xa6\\x06\\x92Q\\xab\\x8c\\x82#\\x16\\x94\\x86g\\xd5\\xc8\\x02$\\x07\\x00\\x8e\\x01\\x07\\x16\\xa2qm\\xc8\\x83E\\xf2\\x91\\xc03\\x8enC\\xc0\\t\\x92\\xe4kI \\x1a.\\x0c\\xd6IE\\xb1r#\\x87\\x84\\xc4\\x18\\x96\\xb4X\\x0b\\x02\\xc8F\\xa0\\xd1\\x8bm\\x88\\xad\\x0c[\\xe57,\\x85\\x9cF\\xca\\x02(!\\x08\\x84\\x01\\xcbi- 8\\xf1\\x9a\\xe57\\x04\\x93l\\x97R\\xa2\\xa3uf\\xf7\\x00\\x84D\\x84\\x87\\x1d\\x0f\\x91*B\\x0ed\\xb1A\\x16\\x9c\\x81Y\\x00\\xe9\\xb8\\xf3\\x9c\\xc8\\xf6\\x89@sObM\\x95\\xc3\\xe3\\x129\\xad\\x04\\x8c2\\r\\xc4!\\x1c\\x002b@\\xa74\\x15\\xa0\\x1cI(\\xceD\\x8b\\xa4I\\xc4\\xe2@\\xa6\\xf9\\x00\\x04:\\xc6y\\x16\\xf2p\\x1d1L!\\x93\\x88\\x88\\xb6@\\x1a\\xf18\\xc6\\x8d\\x88\\x88\\xf9\\xcc\\xf1%\\x0e\\xd5L\\x02 \\x88E\\xc6\\xcdDHB\\x00\\x92!\\x08\\x81\\xa2N0\\x88\\xe663\"N\\x03\\x002#Q5\\xdaqhX\\x82.@\\x89&IE\\xa6\\x93N@\\xa1\\xd2\\x1a\\x08\\xd0\\x15dD\\x80w\\t\\x05%XPL\\r\\x04\\xe2\\xd4\\x00\\xcd8&\\xd6 -E\\nF\\xc6n\\x9c\\xe2\\xdc<\\x08\\x1e\\x10C\\r\\xac$Nt:q$\\xc4IH\\x88X\\xe2\\x11\\x11\\xf1A\\x80I8\\x03\\\\\\xc0t\\x12\\xa4\\x0cDF\\xac\\x95\\x04\\x806\\xb6gi\\x112!\\x12\\x01\\xe8s\\xd0\\x0csH\\\\\\x1dnm\\x8e\\x02\\x10\\x84t\\x9aB`\\r\"$I\\xb8\\xd8D\\xc9\\x15\\xa0\\xf3\\x13\\x10\\xe4D\\x11(\\xdcI\\xb5\\x07\\x9bHt!@dF\\xc6\\x80`h\\x1c9\\x12DF\\x04\\xb9 \\r\\x98\\x1c\\xb9\\x89\\x18b\\x06F\\xceg\\\\\\xda;\\xces`$\\x15\\x90\\x04$\\xd6\\x89\"3\\xb4\\xe9\\x17\\x94\\x08\\\\\\xc8\\x07\\x10\\xa4D\\x90\\x84a\\x12B\\xab;\"O\\x88d\\x86\\x91o