tubeshowcase●1,669,464 videos♡ My collection 0
← Learn to Code

Learn to Code08:56

Salting, peppering, and hashing passwords

mCoding ↗

From the creator

What can a hacker do when a database is leaked? Try Hostinger: https://hostinger.com/mcoding Use coupon code MCODING at checkout for up to 91% off all yearly hosting plans! Your password database just leaked. What info does the hacker get and what can they do with it if you used plaintext passwords, hashed passwords, salted hashed passwords, or peppered salted hashed passwords? In this video we will talk about hashes, salts, and peppers, which can be used to more securely store passwords in your application's database. We use builtin secure Python primitives. Big open source libraries like Flask and Django use these techniques. Note: DO NOT WRITE YOUR OWN CRYPTO. This video is for educational purposes to explain the purpose and benefits of salting and peppering, it is not an example of secure production code. Note: Hash functions used in hashing passwords should be purposefully and configurably slow so that it takes an attacker a long time to check hashes even offline, making it more time-consuming to crack even weak passwords. ― mCoding with James Murphy (https://mcoding.io) Source code: https://github.com/mCodingLLC/VideosSampleCode Password storage best practices: https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html Crypto.SE on peppering: https://security.stackexchange.com/questions/3272/password-hashing-add-salt-pepper-or-is-salt-enough Timing attacks video: https://youtu.be/XThL0LP3RjY SUPPORT ME ⭐ --------------------------------------

Published 2021-07-10 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code