DEV Community 👩‍💻👨‍💻

Garret
Garret

Posted on

Best password authentication strategy?

I was curious based on your personal/professional opinion what is the best way to do password authentication?

I see so many different ways of handling users' passwords from salts hashing etc. and I wanted to know what you guys would do.

Top comments (3)

Collapse
 
peledzohar profile image
Zohar Peled

Best option: Login using google/facebook.
Second best: Hash and salt.
Bad: Encrypt
Never: plain text.

Collapse
 
garretharp profile image
Garret

I am more asking what is the best option within hash & salt because their are many algorithms some better than others

Collapse
 
peledzohar profile image
Zohar Peled

I have seen this code project article also posted on crackstation.net/ (which currently seems to be having problems with their SSL) - and while I'm not a security expert - it seems to me that they are doing a pretty good job explaining it.

We want your help! Become a Tag Moderator.
Check out this survey and help us moderate our community by becoming a tag moderator here at DEV.