md5
Moderator: General Moderators
- shiznatix
- DevNet Master
- Posts: 2745
- Joined: Tue Dec 28, 2004 5:57 pm
- Location: Tallinn, Estonia
- Contact:
you want to take the md5 and return it to what it originally was!? thats like 99.99999999999999% not ever going to happen in your lifetime. Even if you were to do a brute force it would probebly take like 5 months (if the password or whatever is random enough and not just a dictionary word). Its not going to happen so start thinking about somthing else.
-
Sphen001
- Forum Contributor
- Posts: 107
- Joined: Thu Mar 10, 2005 12:24 pm
- Location: Land of the Beaver
Hi,
Perhaps you should take a look at what md5 is meant to do. Link
md5 is one way hashing. Un-hashing it is not possible. Perhaps you should take a look at encryption instead. It will do what you want.
Hope this helps
Sphen001
Perhaps you should take a look at what md5 is meant to do. Link
md5 is one way hashing. Un-hashing it is not possible. Perhaps you should take a look at encryption instead. It will do what you want.
Hope this helps
Sphen001
You could however check if something equals your md5
Code: Select all
if ($var == md5(whatever) { continue } else { stop }If you want to encrypt and decrypt something, look into mcrypt()
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.