Some final words to be said in a polite way:
1) There is NO rule on how to salt a MD5-Hash! Do it as you like. The RFC only defines how to build a 32bit Hash.
www.faqs.org/rfcs/rfc1321.html
2) Since there is no rule about salting, PHP only refers to the RFC above and doesn't say a brick about salting! (...and what should they say? :) )
The Comments below only show, how others have solved it for their needs in many different ways. But there is no "THIS IS DONE LIKE THIS! THERE IS NO OTHER WAY TO DO IT!"
I'm getting a bit tired of wasting my time on those threads with senseless dialogs as they should contain useable information for everybody.
First the "standard 3GL-homebrew solution" is suggested and after this didn't fit the public demands it got a bit silent. And then it starts over with some new crap. I don't like this!
I'm fine with commentaries aslong they help the topic and their readers. BUT the rest is better left out!
===> So, Mr. Merkel, may I ask you to just stay calm on my threads? ...
Author: -GHAN- (
hansen@ahp-gmbh.de)