Password hashing stores, for each account, not the password but the output of a deliberately slow function of it, so that a stolen table can only be attacked by guessing, one costly guess at a time. A salt is a random value stored with each account and hashed with its password, so that equal passwords give different stored values and no guess can be tested against all accounts at once. A key-derivation function derives keys from a secret: HKDF from a secret that is already random, and PBKDF2 or scrypt from a password, with a cost parameter that sets the work per guess.
Computer Science · Glosario
¿Qué es Password hashing, salt, key-derivation function?
También llamado: password hashing · salt · key-derivation function