Skip to content
BENIBIX Learn

Digital Signature

Development🔐 SecurityDefences

Also known as Cryptographic Signature, Signature Verification, Signed Message

A stamp made with a private key. It proves who sent a message and that nobody changed it.

Think of it like

Think of it like a wax seal on a letter. Only you have the stamp, and anyone can check the seal.

Example

Jack's phone gets an app update. Before it installs, the phone checks the maker's signature and refuses a copy that was tampered with.

Why it matters

It lets you trust a file or message that passed through strangers' hands. Without it, anyone could fake an update.

Definition

A digital signature proves who made a message and that nobody changed it. The sender makes it with their private key. Anyone with the matching public key can check it. If even one letter of the message changes, the check fails. Software updates, JSON Web Tokens and HTTPS certificates all carry signatures.
The bottom row: Emma signs with her private key. Anyone can check it with her public one.

Common mistake

Thinking a signature hides the message. It proves who sent it, but anyone can still read it unless it is also encrypted.

Key takeaways

  1. 1
    Made with the private key. Only the owner can make it.
  2. 2
    Checked with the public key. Anyone can check it.
  3. 3
    Breaks on change. One edit and the check fails.

Compare