A small change produces a different fingerprint.
One exchange at a time. Read what changes, then explain it in your own words before moving on.
- Meet the components
- Follow the steps
- Compare an example
- Check your understanding
A small change produces a different fingerprint.
Example: compare a downloaded file with a hash obtained from a trusted source. A hash does not hide the file.
A matching hash is useful only when the expected value comes from a trustworthy source.
How to use this example
Select Next step to read at your own pace, or Animate step to watch one exchange. Nothing advances until you choose.
What it means
Everyday example
State in this scenario
Inspect components & read every step
- You
The person making the decision in this fictional example.
Example: You decide whether to share information, approve a request or check it first.
- Check or transform
A hash calculation and comparison. This checks a fingerprint; it does not encrypt the file.
Example: Compare the downloaded file’s hash with a value from a trusted source.
- Result
The outcome produced by the operation in this example.
Example: Read the current state and the step explanation to see what succeeded or failed.
Matching file
A matching hash is useful only when the expected value comes from a trustworthy source.
- You Check or transform: Hash the download. A hash function calculates a fixed-length value from the downloaded file.
- Check or transform Result: Compare trusted value. The values match in this example. This supports integrity relative to that trusted reference, not a guarantee that the file is harmless.
Changed file
A different hash means the bytes do not match the expected file.
- You Check or transform: Hash changed bytes. The same function hashes a file whose contents have changed.
- Check or transform Result: Mismatch found. The calculated value differs from the trusted reference. Do not treat this download as the expected file.
Fictional teaching trace. One moving dot represents an exchange, not a measured network capture.