I ve always been curious... Which is better when salting a password for hashing: prefix, or postfix? Why? Or does it matter, so long as you salt?
http://blog.codinghorror.com/i-just-logged-in-as-you-how-it-happened/ http://blog.codinghorror.com/i-just-logged-in-as-you-how-it-happened/
So which is the better method, and why? Is there a method that decreases the chance of a hash collision? My Googling hasn t turned up a decent analysis on the subject.
Edit: Great answers folks! I m sorry I could only pick one answer. :)