|
|
| Name: |
Anti_Mcrypt |
| Base name: |
mcrypt |
| Description: |
Encrypt and decrypt data using mcrypt |
| Related classes: |
mcrypt, salt, anti, data dictionary |
| Version: |
1.1 |
| PHP version: |
5.0 |
| License: |
Public Domain |
| All time users: |
980 users |
| All time rank: |
3068 |
| Week users: |
2 users |
| Week rank: |
1632 |
| |
|
 |
|
Innovation award
 Nominee: 3x |
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.
 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 |
| 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 |
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|
| File |
Role |
Description |
Anti (2 files, 1 directory) |
example.php |
Example |
example usage |