how to do encrypt and decrypt in php code example Example: encryption and decryption in php example $decoded = base64_decode($encoded);