a simple way to encrypt/decrypt your stuff
usage:
encrypt: $encString = swecrypt("i like foosball", "e");
encrypt result: Q254V1JJcG9OMzcrZFpPYlZVdGpZZz09
decrypt: $decString = swecrypt($encString, "d");
decrypt result: i like foosball
Simple as that.