Comparison of hashes in PHP

Asked

Viewed 146 times

0

Is there any way to make a comparison with two hashes of different types and find out if their content is equal or not?

For example: I have a hash in SHA512 and another in MD5 (can be any other type of hash) which were created from the same text. Using PHP I would like to compare the two and find out if they are equal or not.

1 answer

1


You can’t make that comparison (or conversion) from hash. The modes to get the hash match is by having the text encrypted and checking for the two options.

Depending on what you want from to query broken hash database. Example https://hashkiller.co.uk/

Browser other questions tagged

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