RosettaCodeData/Task/Substitution-cipher/Python/substitution-cipher-2.py

8 lines
243 B
Python
Raw Permalink Blame History

The original is: A simple example.
Encoding it with the key: dV1>r7:TLlJa<EFBFBD>uY o]MjH\hI^X cPN#!fmv[
<e=04|O'~{y$bAq@}U.WtF*)x/K?
Q%S(<EFBFBD>RB;25&s6Z9C3+D-_8kn,`Egiwzp"G
Gives:
iPMhX\YiYmJhX\Y5
Decoding it by the same key gives: A simple example.