How Sites Store Passwords: Hash, Salt and Slow Hashes
Two users, one password, the same plain hash. A salt and a slow hash fix it.
Video #281 ยท How it works, by example
Steps in the video
Files
- crack.py (39 lines)
- run.py (27 lines)
- store.py (37 lines)
Tested with
Python 3.12.15
What this does not show
All users, passwords and the wordlist are made up; the scrypt cost is a demo value, not a recommendation.
Sources
Learning IT by Example.