What is Digital signature?

A cryptographic value made with a private key that proves who signed some data and that it has not changed since. Anyone with the matching public key can check it. It secures software updates, certificates and signed email.

To sign, software hashes the data and transforms the hash with the signer's private key; to verify, the recipient checks it with the public key. A valid signature shows the data came from the key holder and was not modified, and the signer cannot easily deny it (non-repudiation). Code signing lets operating systems refuse tampered software; certificates are themselves signed by certificate authorities; DKIM signs email. A signature is only as trustworthy as the private key, and attackers who steal signing keys can make malware look legitimate, which has happened in several major supply-chain attacks.

Source: NIST CSRC Glossary (FIPS 186-5).

Practice it in a lab

Free, hands-on labs that teach Digital signature.

Related terms

All glossary terms

Related