X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=03-door-codes%2Fdoor-codes-solution.ipynb;fp=03-door-codes%2Fdoor-codes-solution.ipynb;h=7c5867f02f39e81d5b49d1a8d59699bba786f78d;hb=7feed95175973490721236795cc7895e252965e2;hp=8e67f00ca1da95cb16cd7812e9d3a0996dd70b82;hpb=256cad02e44f18b53ee0ca8c5a2737b3c1cd71bc;p=ou-summer-of-code-2017.git diff --git a/03-door-codes/door-codes-solution.ipynb b/03-door-codes/door-codes-solution.ipynb index 8e67f00..7c5867f 100644 --- a/03-door-codes/door-codes-solution.ipynb +++ b/03-door-codes/door-codes-solution.ipynb @@ -104,7 +104,9 @@ { "cell_type": "code", "execution_count": 7, - "metadata": {}, + "metadata": { + "collapsed": true + }, "outputs": [], "source": [ "def whash1(word, show_steps=False):\n", @@ -213,7 +215,7 @@ "\n", "\"Multiplying\" letters is done by converting the letters to their position in the alphabet (starting at one) and multiplying. For instance, to multiply `u` by 11, convert `u` to `21`, multiply by 11 (`21` × `11` = `231`), then convert back to a letter (`231` is larger than 26, so it becomes `23`, which is `w`).\n", "\n", - "Again, anything that isn't a lower-case letter is ignored.\n", + "Again, all letters are converted to lower-case and anything that isn't a letter is ignored.\n", "\n", "For example, to find the code from the pass phrase `the cat`, the code starts as being the first two letters `ri`. When the first letter is encrypted, the first letter of the code becomes:\n", "\n",