4335 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+10 more
Reaper-Media says
Yes I am sure. Every time I submit the form, no matter what data in the password field, always the exact hash. So what would be the cause of this then?

the only possible cause is, like everyone is saying, $registerPassword must be the same. Show us the code which defines $registerPassword.

Also may i suggest using sha1() instead of md5() because md5 has been broken :-)

753 posts
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Had an item featured on Envato Market
+4 more
AdamGold says
try to do
var_dump( $registerPassword );
Before you hash it and see what the result is. If it’s what you expect it to be, try a different hash method although I am not sure it will help.
2529 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 10+ members
  • Has sold $40,000+ on Envato Market
  • Interviewed on an Envato blog
+11 more
JeffreyWay says

Yep – there is no possible way that multiple values are generating the same hash.

Also, keep in mind that there are more secure methods than MD5 . You might look into something like SHA256 , or something similar.

by
by
by
by
by
by