Learn how to store passwords securely including encrypted vs hashed passwords, what a salt is, how to encrypt and decrypt passwords with Node, how to hash passwords with Node, and how logging in works with hashed and salted passwords.
💻 My Software 💻
My Chrome Extension WittCepter - https://chromewebstore.google.com/det...
📚 My Courses 📚
https://courses.wittcode.com
👩💻 Download Code 👨💻
https://blog.wittcode.com
⌛ Timestamps ⌛
0:00 - Introduction
0:05 - How to Store Passwords Securely
0:32 - Never Store Plaintext Passwords
0:54 - Never Store Encrypted Passwords
1:21 - Encrypting Text with Node and crypto
2:39 - Why You Should Hash Passwords
3:06 - Hashing Passwords with Node and crypto
3:34 - Adding Salt to Hashes
4:20 - Hashing and Salting Passwords with Node and crypto
4:45 - Hashing Passwords with bcrypt
7:04 - Verifying Passwords with bcrypt
8:32 - How Salts and Hashes Should be Stored
9:11 - Outro