PHP Encryption Class

Here’s a simple PHP library for encoding and decoding text.

Examples:

encode($encoding, $plaintext);
echo $manager->decode($encoding, $cyphertext); // Hello world
1?>

TrivialEncoder.class.php (Highlighted source code.)