Chapter 6
Digital signatures
A digital signature is a value only the private-key holder can compute for a message, and anyone with the public key can check that it matches that exact, unchanged message.
Topic
A hash is a short fingerprint of data; any change gives a different fingerprint. A digital signature is made with a private key over that data, and anyone with the matching public key can check it. A signature is not "encrypting with the private key".
This hub covers how signatures work, why they need certificates to say whose key signed, and how code and document signing use timestamps so a signature can still be checked after the certificate expires.
Plain words first, then the real mechanism, what it looks like at work and why it matters.
Chapter 6
A digital signature is a value only the private-key holder can compute for a message, and anyone with the public key can check that it matches that exact, unchanged message.
Chapter 5
A cryptographic hash turns any data into a short, fixed-size fingerprint; any change gives a completely different fingerprint, and you cannot run it backwards to get the data.
Chapter 24
A code or document signature proves who signed a file and that nobody changed it since; a trusted timestamp keeps that proof valid after the signing certificate expires.
Chapter 7
Encryption and signatures only help if you use the right person's public key, so something you already trust must vouch that a key belongs to a name.
Step-by-step, with real commands and a way to check it worked.
You will sign and timestamp a Windows program with SignTool, sign a release file with Sigstore cosign, and verify both, including who signed and when.
You will have proved, without exposing the key, that a private key, its CSR and a certificate share one public key, or found the file that does not belong.
They run in your browser. Nothing you paste is sent anywhere.
Tool
Paste a PEM certificate and read every field in plain words.
Short lessons of about nine minutes each, with check questions.
Every term in plain words, linked to its full entry.