Monday, January 27, 2014

2:26 AM
For a quick wiki about md5:

The MD5 message-digest algorithm is a widely used cryptographic hash function producing a 128-bit (16-byte) hash value, typically expressed in text format as a 32 digit hexadecimal number. MD5 has been utilized in a wide variety of cryptographic applications, and is also commonly used to verify data integrity.

MD5 which stands for Message Digest algorithm 5 is a widely used cryptographic hash function that was invented by Ronald Rivest in 1991. The idea behind this algorithm is to take up a random data (text or binary) as an input and generate a fixed size “hash value” as the output. The input data can be of any size or length, but the output “hash value” size is always fixed. Here is an example of MD5 Hash function at work.

A MD5 hash is nothing but a 32 digit hexadecimal number which can be something as follows:
a0c3a457b35a64fcc1733600e05e5476
88fa71f0a6e0dfedbb46d91cc0b37a50

Here, Ive written a simple script to automate the process of reversing a 1 way hash with dictionary data of public online service eg. gromweb and md5rainbow.


pymd5crack.py


Here's the full source code:

MD5 hashes are theoretically impossible to reverse directly, ie, it is not possible to retrieve the original string from a given hash using only mathematical operations.
Most web sites and applications store their user passwords into databases with MD5 encryption. This method appears to be safe as it seems impossible to retrieve original user passwords if, say, a hacker manages to have a look at the database content.

That's it, happy hashing!

0 comments:

Post a Comment