Impressive.<p>That's also the reason why one should limit the max-length of a password field (something reasonable), if one is using the <i>salted-password in db</i> approach. Otherwise someone could enter a very long password to do the trick (MD5/SHA1), see <a href="http://en.wikipedia.org/wiki/MD5#Security" rel="nofollow">http://en.wikipedia.org/wiki/MD5#Security</a> .