“Crack the password”

Main Idea

In general we have to be careful when we create passwords for various sites or cards. We will use the high-level programming language “Python” to understand how a weak password is going to be cracked. In addition students will learn how to solve a problem and what is a Brute Force attack.

CreatorRallis Spiros
SubjectComputer science
Length 1-2 hours
Pedagogical ApproachReal Life and Technology assisted learning
CompetencesBasic programming knowledge, Problem solving
Debugging
GradesStudents aged 10 – 11 years old
TechnologiesAn online Python Interpreter (repl.it )
Εvaluation ToolsAt the end of the session students will “run” the program and teachers will evaluate them.
Learning Activities

Firstly, the students watch a video in order to understand how the Brute Force Attack Algorithm works. Afterwards, they will receive a worksheet that has basic information about some parts of the program and how the necessary python commands work in the program.

WORKING ALTERNATIVE BRUTE FORCE ALGORITHM WITH PYTHON

1.We have to remind-explain the if – else and for …..  statement to the students. We should give them an example to understand how it works.

2. We guide students to built the program. We ask  a student to think a number and another student tries to guess this number.

3. When they discover Brute force attack we give them time to built their code and try it out.

Discussion

1. Do you think that it is safe to use numbers or letters in a row when we try to make a password?

2. Is it possible for someone to crack any code if he has a very powerful PC?

3.Should we change our passwords more often otherwise they will be cracked?









Leave a Reply

Discover more from Computational Thinking and Acting

Subscribe now to keep reading and get access to the full archive.

Continue reading