Datadog interview question

Implement a simple encryption algorithm