You're Storing Passwords Wrong. Here's The Fix
Автор: LearnThatStack
Загружено: 2025-12-12
Просмотров: 9094
Hashing vs encryption - they're NOT the same, and confusing them is how security disasters happen. Learn how hashing actually works, why MD5 and SHA-1 are broken, and why bcrypt/Argon2 are the only correct choices for password storage.
In this video, you'll learn:
Why hashing is a one-way function
The difference between hashing and encryption
Why MD5 and SHA-1 should never be used for passwords
How rainbow tables crack passwords instantly
What salting is and why it matters
Why bcrypt and Argon2 are intentionally slow (and why that's good)
TIMESTAMPS:
0:00 - The problem with password storage
0:37 - Hashing vs Encryption explained
1:49 - How password verification works
2:48 - Why MD5 and SHA-1 are broken
3:34 - The speed problem with password hashing
5:05 - Solution #1: Salting
6:04 - Solution #2: bcrypt & Argon2
8:08 - Common mistakes to avoid
8:43 - Quick recap
KEY TAKEAWAYS:
→ Hashing is irreversible, encryption is reversible
→ Never use MD5, SHA-1, or even SHA-256 for passwords
→ Always use bcrypt or Argon2 - they handle salting automatically
→ Slow hashing protects users, fast hashing helps attackers
More Videos :
Software Egineering Basics - • Software Engineering Basics
Software Design - • Software Design
RESOURCES:
OWASP Password Storage: https://cheatsheetseries.owasp.org/ch...
Argon2 specification: https://github.com/P-H-C/phc-winner-a...
If you're storing passwords with MD5 or SHA-256, you need to watch this. One function call with the right library - that's all it takes to do password security correctly.
#programming #security #webdevelopment #coding #developer #passwords #hashing #encryption #bcrypt #cybersecurity #softwareengineering #backend #tutorial #computerscience
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: