Did a word change?

A message has a digital fingerprint. Change a word and see what the saved fingerprint can tell you.

If the activity is unavailable, you can follow the worked example below.

What changed?

In Lesson 1.1, a cipher turned the note into ciphertext that the recipient could decrypt with the matching key. In this activity the note stays readable. You make a fingerprint without a key and use it to check the note.

A cryptographic hash function turns the contents of a message into a fixed-size fingerprint, also called a hash or digest. With the same hash function, the same contents always give the same digest. Even a longer note gives a fingerprint with the same number of characters.

Original note
MEET AT NOON
Saved fingerprint
2bf828ceaa6eeec83eccaea2fbe2aea679f453870acd8292526668c363321bd0
Edited note
MEET AT DAWN
Fingerprint of the edited note
8739ebe28489ba59875576030f28726295857ebef267559ae62edf4b6914920b
One word changed. Restoring the original note restores its original fingerprint.

A trusted reference is a fingerprint you know was made from the original note with the same hash function. In this activity it was saved separately, before the note could change. A fingerprint made from the edited note would tell you about that version alone. If the fingerprint differs from the trusted one, the note differs from the original. The fingerprints alone can’t tell you where the difference is.

Check your understanding

You receive a note that looks like the one you expected. Its fingerprint differs from the trusted one you saved. What can you conclude? Can the fingerprints tell you where the difference is?

Show the answer

The note you received differs from the original. A small edit such as an added space could account for it. The fingerprints alone don’t tell you where the difference is.