<?php
require_once("class.encoder.php");
/* <The simplest Eg>*/
//Encode a string
$EncodeCls = new k_Encoder('123','encode');
echo '123 => '.$EncodeCls->EncodedStr."<br/>";
//Decode a string (which is encoded by k_Encoder class)
$EncodeCls = new k_Encoder('!#/"&*-\'$7!+3)!%*".*$0#6"(3-*$9','decode');
echo '!#/"&*-\'$7!+3)!%*".*$0#6"(3-*$9 => '.$EncodeCls->DecodedStr."<br/>";
//* </The simplest Eg>*/
?>
|