what's the best locally stored authentication scheme?

i've found a few:
http://dailyjs.com/2011/01/10/node-tutorial-9/
https://github.com/ncb000gt/node.bcrypt.js/tree/master/examples
https://github.com/Turbo87/locomotive-passport-boilerplate/blob/master/app/models/account.js
(which looks like it came from the bcrypt example)

it looks like mongoose-auth implement from bcrypt's example as well:
https://github.com/bnoguchi/mongoose-auth/blob/master/lib/modules/password/plugin.js
and, i can't figure out how everyauth is generating passwords.
https://github.com/bnoguchi/everyauth/blob/master/lib/modules/password.js

... and i've found tons that generate based on Math.random(Date.now *
some_number).... something like that - didn't look right so i don't
exactly remember.

what's the best method for doing this security wise?

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to