Skip to content

Passwords & Authentication

1 min read2 lessons in topic

Learning objective

By the end of this lesson you will be able to explain password strength, password hashing and multi-factor authentication.

Passwords are the first line of defence for almost every account. This lesson explains what makes them strong and how systems protect them.

What makes a password strong

  • Long — 12+ characters
  • Unique — never reused across sites
  • Random — avoid names, dates and dictionary words
  • A passphrase of several random words works well

How systems store passwords

Reputable systems never store the password itself. They store a hash — a one-way transformation. When you sign in, the system hashes what you type and compares the hashes.

Multi-factor authentication (MFA)

  • Something you know — a password
  • Something you have — a phone or security key
  • Something you are — a fingerprint or face
  • 2FA uses two of these, so one stolen password is not enough

Practice exercise

Turn on 2FA for your email account and create a passphrase for a test account.

Check your understanding

1. Why do systems store password hashes instead of plain text?

2. Which is the strongest password?

Self-graded — answer then check below.