Simple Python String Encryption Algorithm