Is it possible to decrypt an MD5 hash with salt?

I need to decrypt this hashed password: e59dc19f2a3a569417fa183696f91604 and have the salt: 4067. Can I recover the password with this information?

+5
source share
4 answers

No, hash algorithms are one way.

You can enter the original password again and see if the result of the hash matches the previous one.

+4
source

There is a way to decipher it, but it is a long and laborious process. It is referred to as "brute force", which means that you would try to increase (and in large, I mean a significantly greater dependence on the length of the password) the number of inputs. Since the hash function is a one-way function that creates a nonrandom result, you will always map the input signal to the same output. Thus, using "brute force", you are literally trying to use any possible combination and see that the resulting hash is equal to the hash stored in the system (since you already know the salt). There are tools that do this, such as John the Ripper (available on Kali Linux), but again, depending on your computing power, this may take some time.

+1
source

You mentioned the word decrypt in your question, so I just wanted to mention, firstly, that hashes do not mean encryption. Encryption is a two way encryption and decryption process. This is a way to ensure data security during transit or stagnation.

Hashes are a one-way algorithm and cannot be decrypted. However, there are ways to find out what hashed. If you do some research on Rainbow tables, you will see that you just need to create a list of texts (with salt, in your case) and an appropriate hash.

Hashes and encryption are like bread and ice cream. You can heat the bread and get the toast, but you cannot chill the toast to get the bread. You can head the ice cream to get the cream, and you can cool it again to get your ice cream back.

+1
source

I tried to decrypt the hash with salt, and it works, but only with the same application or encryption method (I mean the same if you encrypt it on a website or the application you need to decrypt in the same place) .

I hope this helps

-5
source

Source: https://habr.com/ru/post/1205321/


All Articles