Why Do Passwords Need to Be Strong?
Small choices can change guesswork by trillions
Strong passwords are hard for computer programs to guess because they have many possible combinations. Long, random passwords usually work better than short passwords with common words or patterns. Sites also protect passwords by storing scrambled versions, so stolen files are less useful.
A password is a tiny gate in front of a lot of personal information. It may protect messages, school files, game accounts, photos, and payment details. The strength of that gate depends on how many guesses an attacker would need to try before finding the right one. A password like password123 feels longer than a random code, but it uses a word and a common number pattern. Attack programs try those first. A random password with eight characters can be harder to guess because each spot has many possible choices. Computer scientists describe this uncertainty with entropy, often measured in bits using ideas like $\log_2$. Passwords also do not sit safely in a website as plain text if the site is designed well. They are hashed and salted. For more background, see the Cryptography and Encryption cheat sheet.
Passwords are search spaces
A strong password makes the list of possible guesses much larger.
Entropy measures uncertainty
Length helps most when the characters are chosen in a way attackers cannot predict.
Brute force tries everything
Brute force gets harder when guesses are many and testing is slow.
Dictionary attacks start smarter
A password that people commonly choose is usually one that attackers try early.
Hashing and salting protect stored passwords
Hashing and salting help protect passwords after they reach a website.
Vocabulary
- Password entropy
- A measure of how hard a password is to predict, based on how many possible choices could have made it.
- Brute-force attack
- A guessing method that tries many possible passwords until one works.
- Dictionary attack
- A guessing method that tries common words, leaked passwords, and familiar patterns first.
- Hash
- A one-way result made from data, used so a site can check a password without storing the plain password.
- Salt
- Random extra data added before hashing so identical passwords do not create identical stored results.
- Two-factor authentication
- A login method that requires a password plus another proof, such as a temporary code or security key.
In the Classroom
Build a search space
20 minutes | Grades 6-8
Students calculate how many passwords are possible for different lengths and character sets. They compare the effect of adding one character with the effect of adding one new symbol choice.
Spot the pattern
15 minutes | Grades 6-8
Students sort sample passwords into predictable and less predictable groups without using real personal passwords. The class discusses why attackers try some patterns earlier than others.
Hash card model
25 minutes | Grades 7-8
Students use a simple classroom rule to turn a secret word card into a coded output card. Then they add a salt card and see why two matching words can lead to different stored outputs.
Key Takeaways
- • Strong passwords have many possible combinations.
- • Long random passwords are usually stronger than short patterned passwords.
- • Dictionary attacks try common words and patterns before random guesses.
- • Brute-force attacks become harder when the search space grows and login attempts are slowed.
- • Hashing and salting protect stored passwords, but they do not replace strong password choices.