josafath.dev
← All projects

~/Login-Python · Since 2021

AuthLab

Sign-up and log-in built on hand-written algorithms.

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

  1. v12021

    Merge sort and binary search on the first letter; plain-text passwords.

  2. v2 · AuthLab2026

    4 sorting algorithms, binary search and a Trie by hand, PBKDF2 and 57 tests.

What changed

AspectBeforeAfter
PasswordsPlain text→ Salted PBKDF2-SHA256 hash, 600,000 iterations
SortingMerge sort on the first letter→ 4 algorithms from scratch, with comparison counting
SearchingRecursive binary search→ Binary search, prefix range search and a Trie
Login securityNone→ Same error for user and password, lockout after 5 attempts