Model 19 · Bitcoin Fundamentals

The SHA-256 Hashing Machine

A fingerprint for any data, computed step by step.

Beginner≈ 10 min

Explanation level

How to use this model

How to use this modelWhat you see, what you can touch, what changes, what to take away

What am I looking at?

A processing line: an input tape, a padding press showing one 512-bit block, eight register wheels turning through 64 rounds on a round counter, a message-schedule rack and a 16 × 16 digest grid.

What can I touch?

  • Enter harmless demonstration text
  • Change one character
  • Observe the resulting hash change
  • Compare two hashes

What happens when I change something?

Change a single character and the 256-bit grid changes almost completely, about half its bits flip; type the same text again and you get exactly the same hash.

What should I understand afterwards?

Explain why the same input always gives the same hash and a tiny change gives a very different one.

Understand hashing as a deterministic fingerprint of data.

Same input, same fingerprint; tiny change, new fingerprint.

After this you can

  • Explain why the same input always gives the same hash and a tiny change gives a very different one.

Open the model in its own window · works offline once loaded

Missions operate the model to complete them

  • One character, half the bits

    Beginner

    See the avalanche effect with your own inputs.

Missions are checked from the model's own simulation state, not from clicks. No time limit. Completion is stored only in this browser. The quiz questions in the learning paths remain available.

Tutor Ask a question, or let the tutor show you around

The tutor answers by explaining and, within the permissions below, by operating this model. Every change it makes is shown and listed, and you can undo it. It cannot run code, read your browser data or see anything secret. The page works the same without it.

What the tutor may do
What the tutor did

    Common mix-ups

    Myth: Hashing is a kind of encryption.
    In fact: There is no key and nothing to decrypt; a hash only fingerprints data.
    Myth: Similar inputs give similar hashes.
    In fact: The avalanche effect makes one changed character flip about half the output bits.

    Concepts in this model

    Next recommended

    Model 07 · SecurityThe Recovery Phrase MachineHow twelve words can rebuild an entire wallet.

    Part of these learning paths