View on GitHub

CyberSecurity

A curriculum for a high school cyber security course.

Salt and Hashing

Overview

Passwords are stored on servers and computers to validate users. These passwords should not be stored as plaintext so anyone can read them. To obscure the passwords, salt is added to make the passwords unreadable. Students will explore how salt can turn a password into a garbled message once hashed.

Purpose

Students will use salt to obscure a password and see how password files are stored on computers and web servers to validate users without exposing passwords to anyone on the system.

Objectives

Students will be able to:

Preparation

Vocabulary

Teaching Guide

Getting Started:

How NOT to Store Passwords https://www.youtube.com/watch?v=8ZtInClXe1Q

Hashing Algorithms https://www.youtube.com/watch?v=b4b8ktEV4Bg

Activity:

Use the HashDemo.py file to find a hash version of a password.

Now try the same thing with the salted version.

Modify the HashPassword.py file to do the following:

Wrap-up

Secure Hashing Algorithms: https://www.youtube.com/watch?v=DMtFhACPnTY

Discussion:

Assessment Questions

Extended Learning

Look at rainbow tables: http://project-rainbowcrack.com/table.htm Hashed Password Cracker: https://crackstation.net/

Standards Alignment

License

Cyber Security Curriculum Creative Commons License is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.