Encryption/Decryption

Create a function that can encrypt or decrypt a function without a external library to do the encryption/decryption. It can be as simple as a xor cipher!

Example

assert encrypt("hello", 3) == "khoor"
assert decrypt("khoor", 3) == "hello"