Fixed the merge conflict
[cipher-training.git] / slides / keyword-encipher.html
index e96de8614be1bffad9d9284ecfa75b7c01b4d192..7258e9c88e6ae818f0f076ec7b2675d8a7a25125 100644 (file)
@@ -159,6 +159,17 @@ Question: what do we use as the last letter of 'character'? 'r' or 'e'?
 `sorted()` will put a string in lexicographical order.
 `.find()` will find an item in a sequence
 
+---
+
+# Keyword enciphering
+
+Now we've got the keyword-based cipher alphabet, simply use `.translate()` to do the enciphering/deciphering.
+
+Use `''.maketrans()` to make the translation table.
+
+Sorted!
+
+Does it pass the tests?
 
     </textarea>
     <script src="http://gnab.github.io/remark/downloads/remark-0.6.0.min.js" type="text/javascript">