antirez/lamernews — comment on commit d23a38b0afb9ab767e5a462517ccc2166769dc91
File: app.rb line 642
By antirez:

my fear is to make this programming example a bit too complicated, however since after benchmarking the code with 10000 iterations it was too slow, and the default is now set to 1000, the random salt can provide another level of protection without any CPU cost, so it's worth it I guess. I'll fix it. Also woud be good to support oauth as well so that people can authenticate with Twitter and don't care at all about how we store passwords.