Simple Encryption and Decryption code