A simple string encryption and decryption