MD5() Problems

With my website I have a user login system which encrypts passwords with md5();. When I do it in one script it is fine, but when I put it into the MySQL db it changes. No clue why. It is only that one though. Another script which encrypts it and puts it in the db is fine. Please Help!

Are you sure the field you are enter the data into is set long enough?

The encrypted will output a lot more characters and if the field lenght isn’t long enough it will cut it off and not work.

I solved it. I was encrypting it twice.

Sponsor our Newsletter | Privacy Policy | Terms of Service