def mkIndex(encode, decode, alice, bob, format=lambda s: str(s, 'utf-8')): """Write out the index.html contents. @param encode: function to encrypt the plaintext @param decode: function to decrypt the plaintext @param alice: plaintext of alice line @param bob: plaintext of bob line @param format: formatter for the cypher text, run out output of encode before printing. Does string conversion by default.""" c = encode(alice) print('