Re: [nodejs] bcrypt or md5 ?

2012-07-30 Thread crypticswarm
Here is an interesting article on the topic: http://codahale.com/how-to-safely-store-a-password/ On Mon, Jul 30, 2012 at 2:05 PM, Yogesh Agrawal wrote: > Which is more preferable to save password in DB, bcrypt or md5 ? > > I found https://github.com/ncb000gt/node.bcrypt.js/ lib, which is a addon

Re: [nodejs] bcrypt or md5 ?

2012-07-30 Thread Martin Wawrusch
brcypt. md5 is not secure at all. On Mon, Jul 30, 2012 at 12:05 PM, Yogesh Agrawal wrote: > Which is more preferable to save password in DB, bcrypt or md5 ? > > I found https://github.com/ncb000gt/node.bcrypt.js/ lib, which is a addon > to node.js to encrypt the passwords. > > Also I found that

[nodejs] bcrypt or md5 ?

2012-07-30 Thread Yogesh Agrawal
Which is more preferable to save password in DB, bcrypt or md5 ? I found https://github.com/ncb000gt/node.bcrypt.js/ lib, which is a addon to node.js to encrypt the passwords. Also I found that md5 based hashing is not too safe to store passwords in DB. -- Job Board: http://jobs.nodejs.org/ P