DEV Community

Garret
Garret

Posted on

1

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.

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay