PHP Classes

Encryption Class: Encrypt and decrypt data with mcrypt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-10-27 (7 years ago) RSS 2.0 feedStarStarStarStar 68%Total: 1,317 All time: 2,789 This week: 1,103Up
Version License PHP version Categories  
encryption_v1 0.1GNU Lesser Genera...5.0PHP 5, Cryptography
Description Author  

This class can be used to encrypt and decrypt data with mcrypt extension.

It can encrypt a data block using a given key. The encrypted data is returned encoded with a variant of the base64 encoding algorithm that replaces +, / and = characters by -, _ and empty string.

The class can also do the opposite, i.e. decrypt the data with the same key after decoding the base64 encoded encrypted data.

Picture of sudhir vishwakarma
Name: sudhir vishwakarma <contact>
Classes: 4 packages by
Country: India India
Age: 31
All time rank: 78340 in India India
Week rank: 910 Down65 in India India Down

  Files folder image Files  
File Role Description
Plain text file Encryption.class.php Class Standalone Encryption class
Accessible without login Plain text file example.php Example example

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,317All time:2,789
 This week:0This week:1,103Up
User Ratings User Comments (1)  
 All time
This is a good class and useful for security in data transmis...
7 years ago (Josť Filipe Lopes Santos)