Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of sudhir vishwakarma  >  Encryption Class  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example
Class: Encryption Class
Encrypt and decrypt data with mcrypt
Author: By
Last change:
Date: 6 years ago
Size: 358 bytes
 

Contents

Class file image Download
<?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"));

?>