Digital Signature
Digital Signature
A cryptographic technique that proves who created a piece of data and confirms it hasn't been altered along the way.
In Simple Terms
A digital signature is a way of attaching a special mark to data that only its owner can create, so you can check that the data is genuine. The person who receives it can check that mark to see whether the data really came from that sender and whether anyone changed the contents along the way. For example, it's used to confirm that an important email really came from the person who seems to have sent it.
Behind the Name
The name borrows from the handwritten signature you put on a contract to show it's really you. A digital signature does the same job for electronic data. Instead of ink, it uses math to show who made the data and that nobody has changed it. So it's basically a signature for files, messages, and software.
Take a Closer Look!
A digital signature is a technology for proving that electronic data you received is the real thing.
It checks two things: who created the data, and whether the content was changed along the way.
Here's the idea. A special mark is created from the contents of the data, and the sender locks that mark with a private key that only they hold. The receiver uses the public key the sender has already shared to check the mark, then compares it with a mark created from the data they actually received.
If someone changes even a single character along the way, the marks won't match. And since only the person holding the private key can create a valid mark, impersonation is blocked too.
In practice, it's widely used when you download an app or software from the internet, to check that the file really comes from its developer.
It's also used for electronic contracts signed online, and to show that a website belongs to its rightful operator. It takes the place of a handwritten signature or a stamped seal as a way to prove that data is genuine.