HASH-2Lesson 2 of 38 min

Checking that nothing changed

Because any change gives a different fingerprint, hashes are the standard way to check that a file, a message or a log has not changed. This lesson shows how, and what a hash alone cannot prove.

Comparing fingerprints

This protects integrity, the second CIA goal. It is used to check downloads, to prove that a copy of evidence matches the original (station LOGS), and inside many systems that store or send data.

Figure HASH-2.1Checking a download

college download page

campus-app-2.4.apk
SHA-256: d845888f a4f98d13 b8fff85d …NOW
1/5

A college publishes its app for download, and next to it the SHA-256 fingerprint of the file. (Only the first 24 characters are shown here; real checks compare all 64.)

Step 1 of 5

What a hash cannot prove

A matching fingerprint proves the data matches whatever fingerprint you compared with. It does not prove who made the data. If an attacker can change both the file and the published fingerprint, the check passes. Proving who made something needs a key that only they hold: a digital signature, in the next station.

HASH-2 counts as completed once you step through the figure to its last step.