Is there a way to decrypt MD5 in php?

Asked

Viewed 1,164 times

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

  • 5

    This is a legal operation?

  • 1

    MD5 is not possible to decrypt, what exists are some dictionaries of possible values. But the process is irreversible theoretically

3 answers

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

Browser other questions tagged

You are not signed in. Login or sign up in order to post.