PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Test1  >  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: 13 years ago
Size: 358 bytes


Class file image Download
//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;
"Encoded Value: ".$oEncryption->enc("sudhir");
"Decoded Value: ".$oEncryption->dec($oEncryption->enc("sudhir"));


For more information send a message to info at phpclasses dot org.