Location: PHPKode > scripts > Encryption Class > encryption-class/example.php
<?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"));

?>
Return current item: Encryption Class