A sign-up and log-in app I wrote to learn algorithms in a practical way. It sorts and searches users with hand-written algorithms and stores passwords with PBKDF2.
GitHub ActionsPythonTkinter
Versions
v12021
Merge sort and binary search on the first letter; plain-text passwords.
v2 · AuthLab2026
4 sorting algorithms, binary search and a Trie by hand, PBKDF2 and 57 tests.
What changed
| Aspect | Before | After |
|---|---|---|
| Passwords | Plain text | → Salted PBKDF2-SHA256 hash, 600,000 iterations |
| Sorting | Merge sort on the first letter | → 4 algorithms from scratch, with comparison counting |
| Searching | Recursive binary search | → Binary search, prefix range search and a Trie |
| Login security | None | → Same error for user and password, lockout after 5 attempts |