/MD5-Cracker

Assignment: Reversing an MD5 hash (password cracking)

Primary LanguagePHP

MD5-Cracker

Assignment: Reversing an MD5 hash (password cracking)

This assignment is based on pure HTML and PHP (unlike CSS and JavaScript ) so you will not gonna see any kind of graphics or design.

In this assignment we build code to reverse an MD5 hash using a brute force technique where we simply 'forward hash' all possible combinations of characters in strings. This would be similar to a situation where an e-commerce site stored hashed passwords in its database and we somehow have gotten our hands on the database contents and we want to take the hashed password and determine the actual plaintext passwords.

The simplest brute force approach generally is done by writing a series of nested loops that go through all possible combinations of characters. This is one of the reasons that password policies specify that you include uppper case, lower case, numbers, and punctuation in passwords is to make brute force cracking more difficult. Significantly increasing the length of the password to something like 20-30 characters is a very good to make brute force cracking more difficult.