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).
Tja@programming.dev 3 months ago
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 3 months ago
Wait a second... how did you know my password?
Eylrid@lemmy.world 3 months ago
All I see is *******
Piemanding@sh.itjust.works 3 months ago
They forgot the pepper AND the salt. What animals!