defined('AntiBK') or die("Доступ запрещен!");
$tac = getVar('tac', 1);
$tot = getVar('tot');
?>
if (!$tot) die();
switch ($tac)
{
case 1: echo "B64 Encode: ".base64_encode($tot).""; break;
case 2: echo "B64 Decode: ".base64_decode($tot).""; break;
case 3: echo "MD5: ".md5($tot).""; break;
case 4: echo "SHA1: ".sha1($tot).""; break;
}
?>