Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
freedomben
· 4y ago · 0 comments
A non-trivial difference is that to validate password you need to run it through bcrypt or similar algorithm which is intentionally slow. With a token or cookie, you can use a regular fast hashing algorithm.
Comments
[–]
usrbinbash
4y ago
Nothing prevents me from using BaseAuth for the login, and then issuing a session cookie to the user.