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 (6 years ago) RSS 2.0 feedStarStarStarStar 68%Total: 1,286 This week: 3All time: 2,802 This week: 575Up
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: 30
All time rank: 78540 in India India
Week rank: 442 Up40 in India India Equal

  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,286All time:2,802
 This week:3This week:575Up
User Ratings User Comments (1)  
 All time
This is a good class and useful for security in data transmis...
6 years ago (Josť Filipe Lopes Santos)