PHP Classes

Metalix Encryption: Generate hash of string applying MD5 several times

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 43%Total: 372 This week: 1All time: 6,786 This week: 571Up
Version License PHP version Categories
metalix 1.0GNU General Publi...5PHP 5, Cryptography, Security
Description 

Author

This class can be used to generate an hash of string applying MD5 several times.

It takes a given string and applies the MD5 hashing algorithm several times to make it much harder revert to the original string.

Innovation Award
PHP Programming Innovation award nominee
October 2010
Number 5


Prize: One license of ScriptCase Enterprise edition
MD5 is an hashing algorithm often used to store passwords in a way that can be verified later.

However, security attacks often use dictionaries of MD5 hashes to discover the original passwords.

This class implements of different approach to compute hashes using MD5 that makes it much harder to build MD5 dictionaries. It applies MD5 several times, thus making it more difficult to discover the original passwords.

Manuel Lemos
Picture of Alex Telford
Name: Alex Telford <contact>
Classes: 2 packages by
Country: New Zealand New Zealand
Age: 33
All time rank: 270614 in New Zealand New Zealand
Week rank: 420 Up4 in New Zealand New Zealand Up
Innovation award
Innovation award
Nominee: 1x

Details

DOCUMENTATION for metalix class v1.0 1. include the file include('metalix.php'); 2. initiate the class $test = new metalix('mytext'); 3.[optional] output echo $test; [recommended] I recommend you change the default options within the class change $this->code = '' to any preferred string. (a random hash is best) - this is the string used on either side of the md5 during the encryption process change $this->level = 10 to any number (try less than 25 so as not to crash the server) - this is the number of times the metalix class will run change $this->add = 5 to any number (try less than 25 so as not to crash the server) - this is the number of characters that is added to each side of the md5 hash

  Files folder image Files  
File Role Description
Plain text file metalix.php Class main source
Accessible without login Plain text file README.txt Doc. readme file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:372
This week:1
All time:6,786
This week:571Up
User Ratings User Comments (1)
 All time
Utility:62%StarStarStarStar
Consistency:62%StarStarStarStar
Documentation:56%StarStarStar
Examples:-
Tests:-
Videos:-
Overall:43%StarStarStar
Rank:3518
 
This is ridiculous.
13 years ago (Cujo NZ)
0%Star