The
convert_uudecode() string function will decode a uuencoded string back to normal again. This means it can be used as a 2-way encryption method for low level security measures.
First we'll have to encode a string so you can see it get decoded.

<?php
$myString = "My name is Adam and I like to party.";
// Encode the string
$encodedString = convert_uuencode($myString);
echo $encodedString;
echo "<br /><br />";
// Decode the string back to normal
$decodedString = convert_uudecode($encodedString);
echo $decodedString;
?>
D37D@;F%M92!I
My name is Adam and I like to party.