AdvertisementYour brand could be hereYour brand hereOn every Darslab page · students, parents and teachersinfo@darslab.comAsk for pricesPricesinfo@darslab.com
☰ Year plan · Computing

Proving who you are

Week 23 · Unit 9: Keeping data safe · 3 lessons
2

Strong passwords and PINs

Computing 6: Unit 9, pp. 124–133
GoalChoose strong passwords and PINs and explain why length and a mix of characters make guessing harder.
New words
strong password · a password that is long, uses a mix of characters and is hard to guessPIN · a personal identification number: a short secret code made of digitscombination · one possible arrangement of characterspassphrase · a password made of several unrelated words, joined with numbers or symbols
Explanation

A password can be guessed by someone who knows you or by a program that tries many guesses very fast. Two things make guessing harder: more characters and more kinds of characters. A 4-digit PIN has 10 × 10 × 10 × 10 = 10 000 combinations. A 6-digit PIN has 1 000 000. Every extra character multiplies the number of combinations. Do not use your name, your birthday, a pet’s name or simple lists such as 12345678. A passphrase of several random words with a number and a capital letter is long and easier to remember. Use a different password for each account, and keep it secret except from a parent or carer.

SecretChoices per placePlacesCombinations
4-digit PIN10410 000
6-digit PIN1061 000 000
3 small letters26317 576
4 small letters264456 976
Worked examples
PasswordVerdictWhy
Aisha2014weaka name and a year
12345678weaka famous easy guess
qwertyweaka row of keys, and too short
pear-Drum-43-kitestronglong, mixed and random
Here are four passwords with their problems. The strong one is long, mixed and not connected to the owner.
To make a passphrase, choose words that have nothing to do with each other, join them and add a capital letter and numbers. Then check that it is not about you.
5 charactersChoices per placeCombinations
small letters only2611 881 376
letters and digits, small and capital62916 132 832
Mixing kinds of character makes a bigger change than people expect. With only small letters, each place has 26 choices. With small letters, capitals and digits, each place has 62 choices. For 5 places the second password has about 77 times more combinations.
Class activity

Password lab (no computer): never use your real passwords. Player A secretly writes a made-up 2-digit PIN, 00 to 99. Player B guesses, and A answers only ‘yes’ or ‘no’. Count B’s guesses. Then calculate: with one guess per second, how long would it take to try all 100 combinations? How long would a 4-digit PIN take? (10 000 seconds is about 2 hours and 47 minutes.) Then each player builds a made-up passphrase from four random word cards and the group checks it with a list: long, mixed, not about me.

Practice
1
Which of these are weak, and why? (a) Leo2015 (b) dolphin (c) tulip-Grid-58-cloud (d) 11111111
PasswordWeak or strong?
(a)Leo2015?
(b)dolphin?
(c)tulip-Grid-58-cloud?
(d)11111111?
2
How many combinations does a 5-digit PIN have?
PIN lengthCombinations
4 digits10 000
5 digits?
6 digits1 000 000
3
Mia’s password is her cat’s name followed by her birthday. Give her three tips for a better one.
4
Why should every account have its own password?