Login   Register  
PHP Classes

Encryption Class: Encrypt and decrypt data with mcrypt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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,268 This week: 2All time: 2,811 This week: 817Up
Version License PHP version Categories  
encryption_v1 0.1GNU Lesser General Publ...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: 78539 in India India
Week rank: 432 Up35 in India India Up

  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,268All time:2,811
 This week:2This week:817Up
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)