Login   Register  
PHP Classes
elePHPant
Icontem

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,262 This week: 2All time: 2,817 This week: 916Up
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: 595 Up44 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,262All time:2,817
 This week:2This week:916Up
User Ratings User Comments (1)  
 All time
Utility:100%StarStarStarStarStarStar
Consistency:95%StarStarStarStarStar
Documentation:-
Examples:90%StarStarStarStarStar
Tests:-
Videos:-
Overall:68%StarStarStarStar
Rank:295
 
This is a good class and useful for security in data transmis...
6 years ago (Josť Filipe Lopes Santos)
67%StarStarStarStar