A demonstration of a timing attack in Python. heavily inspired by https://codahale.com/a-lesson-in-timing-attacks/ and https://stackoverflow.com/questions/25844354/timing-attack-in-php
- change the password PASSWORD in the constants file
- run
python3 crack_password.py
- Never implement security stuff by yourself
- When comparing credentials use compare hashes