Every year, billions of passwords leak online not because attackers are guessing them one by one, but because the systems meant to protect those passwords fail in predictable, preventable ways. Our graduate teaching‑aide project, Cracking the Habit: A Cryptographic Look at Everyday Password Failures, takes a closer look at those failures and the cryptography that explains them.
Instead of presenting password hygiene as a checklist, we built a narrative video where a frustrated Security Analyst vents an AI Agent about coworkers who reuse passwords, leave default credentials untouched, and assume hashing alone makes them safe. The Agent responds with the actual mechanisms behind each failure: how hashing and salting work, why fast hashes like unsalted SHA‑1 crumble under cracking attempts, and how modern key‑derivation functions like bcrypt and Argon2 slow attackers down by design.
The video walks through three of the most common real-world problems:
Password reuse: why one leaked hash can unlock accounts across multiple services, and how salting prevents identical passwords from producing identical hashes.
Cracking techniques: dictionary attacks, brute force, and rainbow tables and why slow, memory hard algorithms dramatically change the attacker’s timeline.
Default credentials: the failure that bypasses cryptography entirely, because a password published in a manual was never a secret to begin with.
To support the video, we produced a companion walkthrough that breaks down hashing, salting, key stretching, and rainbow table mechanics with diagrams and short explanations. Together, the two pieces aim to make cryptographic reasoning accessible to any viewer, not just security professionals.
This project was developed as part of the Master of Information Security and Privacy program at the University of Calgary. Our goal was simple: show that everyday security habits aren’t just “good practice” if they succeed or fail for specific cryptographic reasons. Understanding those reasons is what turns advice into insight.
If you’ve ever wondered why “Password123” is more dangerous than it looks, why Argon2 matters, or why default logins still compromise critical infrastructure, our teaching aide breaks it down clearly, visually, and in under ten minutes.
Watch the full video, see how small habits create big risks, and how cryptography fixes them.
References:
- OWASP Foundation. “Password Storage Cheat Sheet.” OWASP Cheat Sheet Series. Accessed September 2026. https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html
- OWASP Foundation. “Credential Stuffing Prevention Cheat Sheet.” OWASP Cheat Sheet Series. https://cheatsheetseries.owasp.org/cheatsheets/Credential_Stuffing_Prevention_Cheat_Sheet.html
- National Institute of Standards and Technology. Digital Identity Guidelines: Authentication and Authenticator Management. NIST Special Publication 800‑63B‑4. Gaithersburg, MD, 2025. https://csrc.nist.gov/pubs/sp/800/63/b/4/final
- Biryukov, Alex, Daniel Dinu, and Dmitry Khovratovich. “Argon2: New Generation of Memory Hard Functions for Password Hashing and Other Applications.” In Proceedings of the 2016 IEEE European Symposium on Security and Privacy (EuroS&P), Saarbrücken, Germany, 2016, 292–302
- Biryukov, Alex, Daniel Dinu, Dmitry Khovratovich, and Simon Josefsson. Argon2 Memory‑Hard Function for Password Hashing and Proof‑of‑Work Applications. RFC 9106. Internet Research Task Force, September 2021. https://www.rfc-editor.org/rfc/rfc9106
- Provos, Niels, and David Mazières. “A Future Adaptable Password Scheme.” In Proceedings of the 1999 USENIX Annual Technical Conference (FREENIX Track), Monterey, CA, 1999. https://www.usenix.org/legacy/event/usenix99/provos/provos.pdf
- Oechslin, Philippe. “Making a Faster Cryptanalytic Time‑Memory Trade‑Off.” In Advances in Cryptology – CRYPTO 2003, Lecture Notes in Computer Science, vol. 2729, 617–630. Berlin: Springer, 2003
- Verizon Business. 2026 Data Breach Investigations Report. New York, NY, May 2026. https://www.verizon.com/dbir

Suppose an attacker has a complete rainbow table built for SHA-256 password hashes. Explain why this table becomes useless against a properly salted password database, even though the underlying hash function (SHA-256) hasn’t changed.
My attempt at answering the question posed:
An attacker can look up a stolen hash in the table instead of computing hashes for millions of passwords. A properly salted password database defeats this because a unique random salt is added to each password before hashing. Even though both users have the same password, their resulting hashes are different because their salts are different. The attackers existing rainbow table was generated for SHA256(password), but the database contains SHA256(password&unique salt). The attacker would have to generate new password guesses for each individual salt. This eliminates the main advantage of a rainbow table which is precomputation and reuse across many password hashes.
Side note: I enjoyed the video, it kept me engaged throughout even with my short attention span. Nicely done!
Good question Taiwo. Rainbow tables are precomputed “lookup” of SHA-256 password- or nicely put, passwords. This table does the complete hashing once, before time so to use it against any stolen hash but salting stops that reuse by assigning a unique salt (typically 16+ bytes) to individual stored hash values and each salt stays glued next to its own hash value hence, any lookup will be computed alongside its unique salt value.
The hash function remains same/unchanged but the assailant now gets a tougher job because he now needs to invert different/unique functions for every account so, the rainbow table becomes “useless” or obsolete.
Salting to me, “spices” the whole thing up by assigning values different from each other. The rainbow table is useless not because the hash function changed but the input (added flavour) introduced to it did and that changes uniquely for each user.
A startup switches from storing passwords with unsalted SHA-1 to storing them with salted Argon2. Beyond adding a salt, why does the hashing algorithm itself dramatically increase how long a successful crack would take, even against a single stolen hash?
A startup switches from storing passwords with unsalted SHA-1 to storing them with salted Argon2. Beyond adding a salt, why does the hashing algorithm itself dramatically increase how long a successful crack would take, even against a single stolen hash?
If a service properly salts and slow-hashes its users’ passwords, why does password reuse across services still represent a serious risk to those users?