Skip to content
Learn Netverks

Lesson

Step 8/36 22% through track

passwords-hashing-preview

Passwords and Hashing (Preview)

Last reviewed Jun 1, 2026 Content v20260601
Track mode
none
Means
Read / quiz
Reading
~1 min
Level
intermediate

This lesson

This lesson teaches Passwords and Hashing (Preview): security mindset, common threats, and defensive practices for software teams.

Teams apply Passwords and Hashing (Preview) in every serious Cybersecurity rollout—skipping it leaves blind spots in reviews and incidents.

You will apply Passwords and Hashing (Preview) in contexts like: Web apps, APIs, CI/CD, and organizational compliance programs.

Read scenario-based lessons, map controls to code you write on other tracks, and complete MCQs—practice threat modeling on paper or in docs.

When you can explain the previous lesson's ideas in your own words.

Password systems use one-way hashes—you cannot recover the password from the hash, only verify a guess.

Good algorithms

bcrypt, scrypt, Argon2—intentionally slow to resist brute force. MD5/SHA1 alone are unsuitable for passwords.

Salt

Random salt per user prevents rainbow table attacks—store salt alongside hash.

Pseudocode

# Conceptual — use library in production
hash = argon2.hash(password + unique_salt)
verify = argon2.verify(input_password, stored_hash)

Important interview questions and answers

  1. Q: Rainbow table?
    A: Precomputed hash lookups—salt defeats tables built for unsalted hashes.
  2. Q: Pepper?
    A: Server-side secret added before hash—stored outside DB.

Self-check

  1. Why slow hash algorithms?
  2. What does salt prevent?

Tip: Argon2/bcrypt work factors should increase over years as hardware improves.

Interview prep

Salt?

Random per-user value mixed before hash.

Interview tip Lesson completion confidence

Can you explain this lesson in 30 seconds without reading notes?

Not saved yet.

Check yourself

Multiple choice — immediate feedback.

Discussion

Past discussion is visible to everyone. Only logged-in users can post comments and replies.

Starter discussion topics

  • Why salt?
  • Good hash algo?

Sign up or log in to post comments and sync lesson progress across devices.

No discussion yet. Be the first to ask a question.

Jump