Login   Register  
PHP Classes
elePHPant
Icontem

Anti_Mcrypt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Christian
Name: Christian <e-mail contact>
Packages: 4 Browse all classes by Christian Browse all classes by
Country: Germany Germany - PHP jobs in Germany
Age: 30
All time rank: 134993 in Germany Germany
Week rank: 652 Up28 in Germany Germany Up
Innovation award
Innovation award
Nominee: 3x


  Detailed description   Download .zip .tar.gz  
This class can be used to encrypt and decrypt data using mcrypt.

It takes a given key to encrypt data and checks if it is within the allowed length range.

The key is padded salt string if necessary to make sure that the actual encryption key always has the maximum length.

The class uses the key to either encrypt or decrypt data with PHP mcrypt encryption functions.

  Classes of Christian  >  Anti_Mcrypt  >  Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Anti_Mcrypt
Base name: mcrypt
Description: Encrypt and decrypt data using mcrypt
Version: 1.1
PHP version: 5.0
License: Public Domain
All time users: 1093 users
All time rank: 2986
Week users: 3 users
Week rank: 925 Up
 
  Groups   Rate classes User ratings   Dependents  
  Trackback   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Cryptography Encrypting, decrypting and hashing data View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
March 2009
Number 10
Data protection by using encryption may often be broken when the encryption keys are weak.

Usually the problem is that either the keys are well known words found in dictionaries, or are simple combination of dictionary words with simple numbers or other words also found in dictionaries.

This class provides a simple solution to improve security of encrypted data by appending an hard to guess hash data to the key, so the actual encryption key is never smaller than a given limit length.

Manuel Lemos

  User ratings  
There are not enough user ratings to display for this class.

  Packages that need this class  
Class Dependency Why it is needed
CFA Library
Conditional
If you want to encrypt archieves, you will have to have the mcrypt extensions installed.
Stream IO
Conditional
Needed for EncryptedInputStream and EncryptedOutputStream

  Trackback links  
Link Description
socket_connect und Client/Server-Verschlüsselung mcrypt hätte ich sonst auch vorgeschlagen...

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Files folder imageAnti (2 files, 1 directory)
Accessible without login Plain text file example.php Example example usage

  Files  /  Files folder image Anti  
File Role Description
Files folder imageMcrypt (1 file)
  Plain text file Exception.php Class basic exception for this "Anti" namespace
  Plain text file Mcrypt.php Class Anti_Mcrypt class

  Files  /  Anti  /  Files folder image Mcrypt  
File Role Description
  Plain text file Exception.php Class custom exception used

Download all files: mcrypt.tar.gz mcrypt.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.