Link to home
Start Free TrialLog in
Avatar of andrewf10
andrewf10

asked on

Benefit of using MD5

Hi experts, a theory question for y'all.

What is the benefit of using MD5 in PHP/MySQL? Should it be used just for passwords or should it be used to disguise URLs as well?

Thanks in advance



ASKER CERTIFIED SOLUTION
Avatar of Zyloch
Zyloch
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of andrewf10
andrewf10

ASKER

Thanks Zyloch.

Yes I have some URLs giving away a bit too much info, was just wondering if I could use MD5 to disguise this.

As for the passwords, I presume I cant issue a forgotten password to a user...I can only generate a new one for them right?
Yes, once md5 is used, it is irreversible.

I do not think it is worth it to hide URLs with md5 since even yourself will not be able to retrieve the needed information (I'm assuming you need to unencrypt the URL to use it?). However, there are many strong encryption algorithms and there are some Javascript encryption algorithms also written. A simple search on Google will turn up many.

Regards...
Thanks again, I'll do some investigating.

Passwords will be done straightaway