A primer on password hashing
everydaysuperpowers.dev·31w
🔓Hacking
Preview
Report Post

The reason you use hash passwords is to provide a layer of data protection.

You should not save any data you don’t want to be responsible for. Passwords are a valuable piece of data, and in the past, many developers saved passwords as plain text in their databases. If those databases got hacked or bad actors got legitimate access to that database, they could easily grab user ids and passwords and impersonate that user on that website and possibly others.

Since most websites use user ids and passwords to allow users to log in, you need to save something that ensures someone logging in has the proper credentials.

So, instead of saving passwords, you can save hashes of passwords.

Hashes are this fantastic product of computer science. Given an input, a hashing function will return…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help