Glossary termCryptographic technique

Digital Signature

Also known as: Cryptographic signature

Cryptographic mechanism that lets anyone verify who created a digital message or file and confirm that it has not been altered since it was signed.

A digital signature is a value computed from a message and a signer's private key that anyone holding the corresponding public key can check. A valid signature shows that the message was produced by the holder of the private key (authenticity), that it has not been modified since signing (integrity) and, in many legal and technical contexts, that the signer cannot plausibly deny having signed it (non-repudiation). It differs from an electronic signature in the everyday sense, such as a typed name or a scanned image, which carries no cryptographic guarantee.

Signing usually operates on a cryptographic hash of the message rather than the message itself, which keeps the operation fast. The concept was proposed in Diffie and Hellman's 1976 paper and first realized with RSA in 1977. The US government's Digital Signature Standard followed in 1994, and elliptic-curve schemes such as ECDSA and Ed25519 are widely used for their efficiency. Laws such as the US ESIGN Act of 2000 and the European Union's eIDAS regulation of 2014 give electronic and digital signatures legal standing.

Digital signatures are among the most widely used security tools, often invisibly. Web browsers check signatures on certificates issued by a certificate authority during TLS connections, operating systems verify that updates and drivers come from their vendors, secure boot checks each stage of startup and developers sign code and commits with tools such as GnuPG. A signature is only as trustworthy as the protection of the private key and the process that binds a public key to an identity; stolen signing keys have been used to make malware appear legitimate.

Key points

  • A digital signature proves who signed a message and that it has not been changed since.
  • Signers use a private key, and anyone can verify the signature with the matching public key.
  • Signatures protect TLS certificates, software updates, secure boot and code commits.
  • Theft of a signing key undermines all of its guarantees, so key protection is essential.

Related entries

Glossary term

Public-Key Cryptography

CybersecurityBlockchain

Cryptographic system that uses pairs of linked keys, one public and one private, to enable encryption and digital signatures between strangers.

Glossary term

Cryptographic Hash Function

CybersecurityBlockchain

Function that maps data of any size to a fixed-length digest in a way that is practically impossible to reverse or to match with different input.

Glossary term

Trusted organization that issues digital certificates binding public keys to identities such as domain names, forming the basis of trust for HTTPS.

Glossary term

Transport Layer Security

CybersecurityProgramming

Cryptographic protocol that encrypts and authenticates data sent between applications over a network, most visibly securing web traffic as HTTPS.

Glossary term

Secure Boot

CybersecurityHardware

Firmware feature that lets a computer start only bootloaders and system software signed with trusted keys, protecting against boot-level malware.

Technology

GnuPG

OPSECCybersecurityFOSS

Free implementation of the OpenPGP standard for encrypting and digitally signing data and communications, developed as part of the GNU Project.

Glossary term

Reproducible Builds

FOSSCybersecurity

Practice of making software builds deterministic so anyone can rebuild published binaries from source and get bit-for-bit identical results.

Glossary term

Model of digital identity in which individuals hold and control their own credentials and choose what to share, without depending on a central provider.

Referenced by

Other entries that discuss or point to Digital Signature.