I have a confusion regarding md5. I know that we cannot decrypt MD5 without attempting something like brute force hacking which is extremely tough. Now, For one md5 hash i visit this website. MD5Online For curiosity i decrypt that encrypted password to and i got the decrypted password. Then i tried 4-5 password which are previously stored in my database and this site decrypted all of them.
Then i tried with below code.
<?php
$password = 'cool@123@!';
$secure_md5password = md5($password);
echo $secure_md5password;
?>
i got this md5 hash : 6234c13c3e1b965dbdd32d604151bd1b
I tried this hash in decryption of this site and i got 'cool@123@!'. I tried with other toughest passwords also.
So now i'm confuse about md5 algorithm. Is that website doing brute force or any thing and can we use any code in php which that site is using. I visit these links for answer but i can't find the answer. 1).encrypt-and-decrypt-md5 2).is-md5-decryption-possible 3).how-to-decrypt-an-md5-string-in-php