Simple Message Encoder and Decoder with Secret Key in Python

Prompt

Result