Year 8Technology 50 min
We are learning to
- We are learning how the length of a password and the number of choices for each part decide how hard it is to guess.
- We are learning habits that keep our accounts secure.
Success criteria: I can…
- I can work out the number of possible passwords using choices to the power of length.
- I can explain why a random passphrase is stronger than a short password with swapped symbols.
- I can explain what a dictionary attack is and why common words and patterns are weak.
- I can explain why each account needs a different password and why two-step sign-in helps.
Key competenciesThinkingManaging selfUsing language, symbols and texts
Lesson sequence
50 min total- 1
How many guesses?
Starter 0–7 minTeacher- Show a picture of a bike lock with two dials, each 0 to 9.
- Ask: How many different codes could it have? (100: 00 to 99.)
- Ask: If you try one code a second, what is the longest it could take to open? (100 seconds.)
- Say: “Now a phone PIN with 4 digits.”
- Ask: How many PINs are possible? (10,000: 0000 to 9999.)
- Ask: Every extra digit multiplies the number of codes by what? (By 10, because there are 10 choices for the new digit.)
- Say: “Today we use this idea to find out what really makes a password strong.”
Students- Work out how many codes a two-dial lock and a 4-digit PIN have.
- Explain what one extra digit does to the number of codes.
Picture of a two-dial bike lock, displayed - 2
Counting combinations
Main 7–20 minTeacher- Write the rule on the board: number of combinations = choices for each position to the power of the length.
- Model: "A password of 3 lowercase letters has 26 choices for each letter. 26 × 26 × 26 = 26 to the power of 3 = 17,576."
- Say: “"Use a calculator. Work in pairs through the practice set." Allow 8 minutes.”
- Questions
- 1.A PIN with 6 digits? (1,000,000, which is 10 to the power of 6)
- 2.A password of 6 lowercase letters? (308,915,776, which is 26 to the power of 6)
- 3.A password of 8 lowercase letters? (208,827,064,576, which is 26 to the power of 8)
- 4.A passphrase of 3 words, each chosen at random from a list of 2,000 words? (8,000,000,000, which is 2,000 to the power of 3)
- 5.A passphrase of 4 words from the same list? (16,000,000,000,000, which is 2,000 to the power of 4)
- 6.About how many times more combinations has the 4-word passphrase than the 8-letter password? (About 77 times: 16,000,000,000,000 ÷ 208,827,064,576 is about 76.6)
- Go over the answers.
- Ask: Which grows faster: adding a choice or adding a position? (Adding a position, because it multiplies the total again.)
- Tip: Students with basic calculators can multiply repeatedly; show them that 26 × 26 × 26 × 26 × 26 × 26 gives the same answer as question 2.
Students- Work out the number of combinations for six passwords using a calculator.
- Compare the totals and explain which change makes the biggest difference.
Calculators Practice set displayed on the board - 3
Attackers do not guess in order
Main 20–33 minTeacher- Say: “Attackers do not start at aaaa and work through in order. They start with the passwords people actually use: common passwords, dictionary words, names, sports teams, years, and the same words with tricks like swapping a for @ or adding 1 and ! at the end.”
- Say: “This is a dictionary attack. A password that is on those lists, or built from them, can be guessed very early, however long it looks.”
- Display the password sort from the resources. In pairs, students rank the six passwords from weakest to strongest and write a reason for each. Allow 6 minutes.
- Ask: Which is weakest, and why? (password1: it is one of the most common passwords of all and is tried first.)
- Ask: Why is P@ssw0rd! weak, even with symbols? (It is a common word with well-known swaps, and attackers try those swaps automatically.)
- Ask: Why is the passphrase made of four random words strong? (The words were chosen at random, so it is not a phrase anyone would guess, and it is long.)
- Ask: Why is a famous song lyric a weak passphrase, even though it is long? (Well-known phrases and lyrics are on attackers' lists.)
Students- Rank six example passwords from weakest to strongest with reasons.
- Explain why symbol swaps and famous phrases are weak.
Password sort (examples only, never real passwords)password1; Summer2026!; P@ssw0rd!; kxqv; jellyfish-tractor-pencil-thunder (four words picked at random); a line from a famous song. Suggested order from weakest to strongest: password1, P@ssw0rd!, kxqv (very short, so a brute-force attack is quick), Summer2026! (season and year pattern), famous song line (long but on attackers' lists), random four-word passphrase. Accept small changes to the middle of the order when the reason is sound.
- 4
Safe habits
Main 33–43 minTeacher- Say: “Never type or write a real password in class today. We are designing methods, not passwords.”
- Say: “To make a passphrase, the words must be chosen at random: roll dice to pick from a numbered word list, or open a book at random pages and take the first noun. Do not choose words that mean something to you.”
- Ask: If one website you use is hacked and your password is stolen, why is it a problem if you use the same password everywhere? (Attackers try the stolen email and password on other sites, so all your accounts are open.)
- Say: “So every account needs its own password. A password manager can create and remember them, so you only remember one strong main passphrase.”
- Ask: Someone steals your password, but your account uses two-step sign-in with a code from an app on your phone. Can they get in? (Not with the password alone; they also need the code from your phone.)
- Say: “Write your personal plan: how you would make a passphrase, and two habits you will use.”
Students- Describe a random method for choosing passphrase words.
- Write a short personal plan with two security habits.
A numbered list of 36 common words and a pair of dice for each group, for a dice demonstration (first die picks the group of six, second die picks the word)
- 5
Exit check
Plenary 43–50 minTeacher- Say: “Answer on your own.”
- Questions
- 1.How many combinations does a 5-digit PIN have? (100,000, which is 10 to the power of 5)
- 2.Mia's password is Rugby2012! because it has a capital, numbers and a symbol. Explain why it is still weak. (It is a common word followed by a year and an exclamation mark, a pattern attackers try early in a dictionary attack.)
- 3.Give two reasons to use a different password for every account. (If one site is hacked, the stolen password cannot be used on your other accounts; and you can change one password without affecting the rest.)
- Collect the answers.
StudentsAnswer the three exit questions alone.
Exit slips
Key vocabulary
brute-force attack
Trying every possible password until the right one is found.
dictionary attack
Trying lists of common passwords, words and patterns first, because people often use them.
passphrase
A password made of several words, chosen at random, such as four unrelated words joined together.
combinations
All the different possible passwords that could be made under a set of rules.
two-step sign-in
Signing in with your password plus a second check, such as a code from an app, so a stolen password alone is not enough.
password manager
A secure app that creates and stores a different strong password for every account, unlocked by one main password.
Differentiation
Support
- Give a combinations table with the multiplication already set out (for example 26 × 26 × 26 for three letters) so students only enter it into the calculator.
- For the password sort, give the reasons on separate cards for students to match to each password before they rank them.
Extension
- Ask students to work out the combinations for 8 characters chosen from lowercase letters, uppercase letters and digits (62 choices, so 62 to the power of 8, about 218 trillion) and compare it with the 4-word passphrase (16 trillion). Then ask what a fifth random word does (2,000 to the power of 5 is 32,000 trillion) and which is better for a password you must remember and type.
- Ask students to explain why a passphrase made of 4 words that the person chose themselves (such as their pets' names) has far fewer real combinations than 2,000 to the power of 4.
Accessibility
- Show large numbers with commas and read them aloud ("16 trillion") so students new to English can follow the comparisons.
- Provide a calculator with large keys or an on-screen calculator for students who need it.
- Keep the vocabulary list on the board; the words dictionary attack and brute force are the key ideas for the exit check.
Assessment
- During the combinations practice, check that pairs get question 3 and question 5 right, which shows they can use a power with large numbers.
- Listen to each pair's reasons in the password sort for the idea that attackers try common words and patterns first.
- Collect the exit slips. Question 2 shows whether students can apply the dictionary attack idea to a new password.
Resources
- Picture of a two-dial bike lock
- Calculators
- Combinations practice set
- Password sort, displayed or printed
- Numbered word list and dice for each group
- Exit slips