Model 20 · Security

The Digital Signature Machine

Proving authorization without revealing the key.

Intermediate≈ 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 signing apparatus: a locked key vault, a one-way gear train to an upright public-key plate, a message tray under a signing press, a verifier gate with a lamp and demonstration key tokens.

What can I touch?

  • Generate demonstration key pairs
  • Create a demonstration message
  • Sign the message
  • Verify the signature

What happens when I change something?

Change one character of a signed message, or check the signature with another public key, and the verifier's lamp turns red; sign again with the right key and it turns green.

What should I understand afterwards?

Explain why a signature proves approval without exposing the private key.

Understand how a signature proves authorization without revealing the private key.

A seal only the key holder can make; anyone can check.

After this you can

  • Explain why a signature proves approval without exposing the private key.

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

Missions operate the model to complete them

  • A signature covers every detail

    Beginner

    Show that a signed transaction cannot be changed afterwards.

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: A signature reveals or encrypts the private key.
    In fact: It is computed with the key but reveals nothing usable about it, as long as every signature uses a fresh secret nonce (reusing a nonce leaks the key).
    Myth: A valid signature on a message can move coins.
    In fact: Only a signature over a transaction's sighash authorises spending, and only for the transaction fields its sighash type commits to (normally all of them).

    Concepts in this model

    Helpful to know first

    Next recommended

    Model 11 · NetworkThe Global Bitcoin NetworkThousands of independent computers, no centre.

    Part of these learning paths