1249
submitted 1 year ago by sag@lemm.ee to c/comicstrips@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] Psythik@lemm.ee 2 points 1 year ago

Oh, I thought it had something to do with password hashes, where websites don't actually know your password, but if the hash is the same, then it assumes that you entered the right PW. At least that's how my non-technical brain understands how it works.

[-] tillary@sh.itjust.works 1 points 1 year ago* (last edited 1 year ago)

That's correct, let's say a database was breached and the hacker has every user and their password hashes. They can login with testuser@email.com with password "password123" and see if the generated hash matches any other user's password hash. If so, they might be able to hack many accounts with the same password or even reverse engineer and decrypt every other password.

Developers can make the hash more secure by adding arbitrary characters to the password (aka a salt), and this becomes the site's "authentication algorithm". But if the hashes are stolen, it may be a matter of time before the algorithm is figured out, which leads to updates, which leads to your pre-existing hash no longer matching.

this post was submitted on 23 Sep 2023
1249 points (98.1% liked)

Comic Strips

12568 readers
1964 users here now

Comic Strips is a community for those who love comic stories.

The rules are simple:

Web of links

founded 1 year ago
MODERATORS