Ceaser cypher exercise on Exercism

Here’s the link to a binary pattern matching approach: How to improve this code?