<?php
//This class facilitates encoding data to pass between two can be used for
//encoding & decoding for cookie value or url param.
require_once "Encryption.class.php";
$oEncryption = new Encryption;
echo "Encoded Value: ".$oEncryption->enc("sudhir");
echo "<br/>";
echo "Decoded Value: ".$oEncryption->dec($oEncryption->enc("sudhir"));
?>
|