Answer the question
In order to leave comments, you need to log in
How to decrypt a password knowing the salt and encryption method?
Hello friends. In general, there was such a question. There is a function that generates a password:
function GenPass ($p1, $p2) {
return md5('соль'.md5('соль'.$p1.'соль').md5('соль'.$p2.'соль'));
}
Answer the question
In order to leave comments, you need to log in
no way: hashes are not decrypted. you can only stubbornly choose a password that will give the same hash.
if you need a password, then you need to store it explicitly encrypted, and not as a hash.
How to decrypt a password knowing the salt and encryption method?
return md5('salt'.md5('salt'.$p1.'salt').md5('salt'.$p2.'salt'));Perhaps you mean: "How to decrypt a password, knowing the salt and hashing method ?"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question