0
there is some way to decrypt md5 in php ?
I need to decrypt the value that comes from a cookie to get user information
0
there is some way to decrypt md5 in php ?
I need to decrypt the value that comes from a cookie to get user information
4
Jefferson MD5 is an unidirectional hash algorithm and therefore once encrypted, the data can no longer be decrypted.
1
After a data is encrypted in md5 you can only compare it, for example a login system, when you create your account your password is encrypted and saved in the database, when you try to log in the password you type in the password field is encrypted again and the result is compared to what you have in the database if the result is true the password is correct and you can log in.
Depending on the use there are some online dictionaries, where they show how a certain sequence of characters is in md5 is not something recommended, if you really want a solution to your problem it would be interesting to talk about what you have in mind so we can help :D
1
Jefferson as Alexander and Edilson have already spoken, it is not recommended, and I believe it is not even possible to decrypt a hash generated via md5.
But I have a suggestion for you, http://php.net/manual/en/function.mcrypt-encrypt.php, mcrypt is a PHP function that does the encryption and has its pair decrypting(http://php.net/manual/en/function.mcrypt-decrypt.php).
I think it makes more sense for you to use an encryption tool instead of a hash tool.
Abs,
Browser other questions tagged php javascript cookies md5
You are not signed in. Login or sign up in order to post.
This is a legal operation?
– Guilherme Lautert
MD5 is not possible to decrypt, what exists are some dictionaries of possible values. But the process is irreversible theoretically
– Diego Soek