NEWPractise supported commands in browser simulations, alongside the lesson.Try a browser practice exercise.Try a lab♥ Codelivly is 100% free, no paywall. If it helped you, chip in to keep it running.100% free. Help keep it so.Support us
Preview · 30 min
Understand how passwords are securely stored using hashing and salting. Learn to identify and defend against common attacks like brute-force, dictionary, and credential stuffing.
A password is the "something you know" factor. People pick short passwords, reuse them and share them, so stolen or guessed passwords are among the most common ways into a system. To defend passwords you need to know two things: how systems store them, and what attacks against them look like.
Hashing is one-way: it turns any input into a fixed-length value, and you cannot calculate the password back from the hash. At login the system hashes what you typed and compares the result with the stored hash. The system never needs to keep your password.
Salting adds a long random value, different for every user, before hashing. Two users with the same password Password123 get completely different hashes, which makes rainbow tables useless.
A hash can still be guessed: an attacker who steals hashes can hash millions of guesses and compare. That is why passwords need a slow algorithm. A fast general hash such as plain SHA-256 is fine for file integrity but not for passwords.
Create a free account to unlock the rest of this task, complete tasks, and earn Rep.
Sign inCredential Attacks
Amateurs think credential attacks are just about guessing "Password123" or running a generic brute-force script until th
ViewWireless Networking Fundamentals
This module introduces the foundational concepts of wireless networking. You will learn how Radio Frequency (RF) physics
ViewWindows Fundamentals
The Windows Fundamentals learning path provides a comprehensive foundation in Microsoft Windows operating systems, speci
ViewCybersecurity Foundations
Every great security professional starts with a rock-solid foundation. The Cybersecurity Foundations learning path is de
ViewActive Directory Attacks
A comprehensive, advanced learning path covering the core methodologies of Active Directory exploitation. Progress from
ViewWeb Application Security
A comprehensive learning path covering the most critical web application vulnerabilities beyond basic injection. Progres
View