2 ms·
If you use a salt you could still do this 'attack. SELECT username FROM users WHERE password = HASH(salt||'secret'); This is academic because you already
by rmc 16y ago
If you use a salt you could still do this 'attack.
SELECT username FROM users WHERE password = HASH(salt||'secret');
This is academic because you already know the password ('secret').
Salts make rainbow tables (essentially precomputed hash values of (say) all english words) hard and infesiable.