Tinker Logins and passwords

by Samy (Kondasamy Jayaraman)

Ada and Bram: one password, one fingerprint, 7d0c50.

Chapter 3 of 7

A pinch of salt

Ada and Bram chose the same password. In the table their fingerprints are identical, so one guess cracks both.

This chapter: How does a pinch of salt keep two equal passwords apart?

About this chapter

You will learn

  • A salt is random, one per account
  • Same password, different fingerprints
  • Each guess now tests one account

Words you’ll meet

Salt
A random value kept beside each account and mixed into its password before hashing.

Step 1 of 4

Ada and Bram share a fingerprint. A is a random value mixed into each password before hashing.

Predict what salting does to them.

Mix a different salt into Ada’s and Bram’s passwords. Do their fingerprints still match?