refactor Encode method to use pre-computed Plaintext => Ciphertext
dictionaries. All test still pass.