How it works · 11 of 34 Core
How do digital signatures work?
A seal only you can make, anyone can check
Digital signatures: A digital signature is a hash of a document locked with the signer's private key; anyone can check it with the public key, and changing even one character breaks it, so it proves both who signed and that nothing changed.
Loading the animation…
Say it like this A digital signature is a fingerprint of the document locked with the signer's private key: anyone can check it, and changing one character breaks it.
Under the hood — for builders
- Real example: the card's letter, really signed
- A fresh Ed25519 key pair, the letter signed with the private half, then checked with the public half, before and after one digit changed:
- Any word you tap, a new fingerprint
- The fingerprints on the stage are real: SHA-256 of each version, first 8 characters. Only the untouched letter matches the seal:
- How big a seal is
- Bytes for one signature and one public key, drawn to scale. The post-quantum one (B8) is far bigger:
- Signing vs checking
- A signature is made once and checked many times (every device that installs an update). Operations a second on one CPU core:
- When the ring is guessed: eMudhra, 2026
- A certificate authority's stamps are signatures (B5). Eight of its 24 keys came out tiny, and within two days of the report:
- Signed ≠ secret
- Anyone can read a signed letter. Signing proves who and unchanged; encryption (B1) hides it.
- Where you meet it
- Software and phone updates, https certificates (B5), PDF and Aadhaar e-signs, code commits.
- Watch out
- SolarWinds 2020: attackers got into the build, so the backdoor shipped properly signed. Signed means unchanged, not safe.
- What to require
- Devices refuse unsigned updates; signing keys in hardware; a written plan for revoking a leaked key.
- Sources
- RFC 8032 · NIST FIPS 186-5, FIPS 204 · OpenSSL 3.0.13 · our eMudhra paper · CISA on SolarWinds (AA20-352A).
What happens in the digital signatures animation, step by step?
- To sign, Meera's software minces the letter into a fingerprint and seals it with her private key: the ring only she owns.
- The letter travels with its seal. It isn't hidden: anyone can read it. The seal is about proof, not secrecy.
- Your turn: you're a clerk on the way. Tap any word in the letter to change it.
- The fingerprint of the new letter no longer matches the seal. One word changed, and the seal splits.
- An untouched letter checks out with Meera's public key: it came from her, and nothing changed. Software updates are signed the same way.
- The proof is only as good as the ring. If someone else gets the private key, they can seal anything in your name. Next: who vouches for a website's padlock.
What everyday example explains digital signatures?
A wax seal pressed with a ring only you own. Anyone who knows your crest can check the seal, nobody can press it without the ring, and the wax cracks if the letter is opened and altered.
Why should a team care about digital signatures?
You will decide whether your devices accept unsigned updates and who holds the signing key; require signed updates, keep the key in hardware, and have a plan for the day it leaks.