25 Jun
2010
25 Jun
'10
4:34 p.m.
On Fri, Jun 25, 2010 at 12:11 PM, Linas <linas_fi@ymail.com> wrote:
Note that your patch is not incremental to mine...
No, it's not. The patch is against the current HEAD in the git repo, but it should play nicely with yours. The only incompatible change I introduced is that now you should do salted_hash(md5($password), $salt)) instead of just salted_hash($password, $salt).
The query in addsalt() function should have a WHERE Salt IS NULL. That's nicer than checking it in php.
Is it faster/more memory efficient/more readable? Best, Denis.