Reputation: 177
So ive got this encrypting code which encrypts a pass word with 3 salts this is
$salt1 = "hey";
$salt1= md5($salt1);
$salt2= "yeh";
$salt1= md5($salt2);
$salt3= "hye";
$salt1= md5($salt3);
$password1= $salt1.$password1.$salt3;
$password1= md5($password1.$salt2);
:how would i decrypt this?
thanks for your help!
Upvotes: 0
Views: 75
Reputation: 7795
You can't decrypt it. MD5 is only one way. Two different strings can have the same output with MD5, so it's impossible to decipher the original string.
About the only way to crack MD5 is if the password is a dictionary word or easy to guess and used without a seed. With a seed, it's practically impossible, especially if there's no way to guess what the seed is.
Upvotes: 4