this post was submitted on 15 Jul 2024
280 points (99.3% liked)

xkcd

12541 readers
83 users here now

A community for a webcomic of romance, sarcasm, math, and language.

founded 2 years ago
MODERATORS
 

alt text:

Anadromous fish are more vulnerable in rivers, since the lack of salt means you can quickly crack passwords using rainbow trout tables.

you are viewing a single comment's thread
view the rest of the comments
[–] Tja@programming.dev 25 points 1 year ago (2 children)

For the people out of the loop: salt is a term used for a piece of data to add to a password before hashing it, so two people with the same password will appear to have different passwords in the DB. So my password will be stored as xyz in the DB while Joe's password will be ABC, although we both use "hunter2".

It prevents an attack using so called "rainbow tables", which is a dictionary of hashes and their corresponding password (so xyz -> hunter2).

[–] massive_bereavement@fedia.io 9 points 1 year ago (1 children)

Wait a second... how did you know my password?

[–] Eylrid@lemmy.world 10 points 1 year ago

All I see is *******

[–] Piemanding@sh.itjust.works 1 points 1 year ago

They forgot the pepper AND the salt. What animals!