What Is a Digital Signature and How Does It Work?

By 3 min read

A digital signature is a cryptographic seal added to a file. It proves two things: who signed it, through a certificate tied to the signer, and that the file has not been changed since it was signed. If even one character changes afterwards, the signature shows as invalid.

How a digital signature works

  1. The signing software calculates a hash of the document: a short fingerprint, such as a SHA-256 value, that changes completely if the file changes.
  2. The hash is encrypted with the signer's private key, which only the signer holds, usually on a smart card, a USB token or a secure server.
  3. The encrypted hash and the signer's certificate, which contains the matching public key, are stored inside the file.
  4. Anyone who opens the file can decrypt the hash with the public key and compare it with a fresh hash of the document. If they match, the file is unchanged and was signed with that key.

The certificate is issued by a certificate authority (CA) that has checked the signer's identity. PDF readers such as Adobe Acrobat trust certain authorities and show a message like "Signed and all signatures are valid" when everything checks out.

Digital signature vs electronic signature

People often use the two terms as if they mean the same thing. They do not.

Electronic signature Digital signature
What it is Any sign of agreement: a drawn or typed name, a ticked box, a scanned signature A cryptographic seal made with a private key and a certificate
Proves who signed Only through context, such as an email address or a log Yes, through the certificate
Shows later changes No Yes, the signature breaks if the file changes
Needs Nothing special A certificate from a certificate authority
Typical use Everyday forms, letters, offer letters, delivery notes Tenders, tax and company filings, contracts that require a certificate

A signature you draw with Sign PDF is an electronic signature: an image of your handwriting placed on the page. It is accepted for many everyday documents, but it is not a certificate-based digital signature.

Are digital signatures legally valid?

Most countries have laws that recognise electronic and digital signatures:

  • United States: the ESIGN Act and the UETA give electronic signatures the same effect as handwritten ones for most transactions.
  • European Union: the eIDAS regulation defines simple, advanced and qualified electronic signatures. A qualified signature, made with a certificate from a qualified trust service provider, has the same legal effect as a handwritten one in every member state.
  • United Kingdom: electronic signatures are recognised under the Electronic Communications Act 2000 and UK eIDAS.
  • Pakistan: the Electronic Transactions Ordinance 2002 recognises electronic signatures, and advanced signatures with a certificate from an accredited provider carry extra weight.
  • United Arab Emirates: the Federal Decree-Law on Electronic Transactions and Trust Services recognises electronic signatures and gives qualified ones the strongest status.

Some documents, such as wills, property transfers and papers that need a notary, can have extra rules everywhere. This is general information, not legal advice; check what the other party or the authority you are filing with requires.

How to get a digital signature

You need a certificate. Options include:

  • A certificate from a commercial certificate authority, often sold yearly and kept on a USB token.
  • A national digital ID, where your country offers one, such as an ID card with a signing chip.
  • A signing service such as an e-signature platform that signs on your behalf with its own certificate and keeps an audit trail.

Once you have one, PDF software that supports certificates, such as Adobe Acrobat Reader, can apply it with Fill & Sign or the Certificates tools.

Before you sign or send a PDF

  • Remove anything the other party should not see. Redact PDF blacks out account numbers or names so the text is truly removed.
  • Clear hidden details such as the author name with Remove PDF Metadata.
  • Sign last. Any change after a digital signature, even adding a page number, breaks it.
  • For everyday documents that only need your handwriting, Sign PDF adds it without printing, and Protect PDF can add a password before you send it.

Questions and answers

What is a digital signature in simple words?

It is a seal made with a secret key and a certificate that proves who signed a file and shows if anyone changed it later.

Is a scanned signature a digital signature?

No. A scanned or drawn signature is an electronic signature: an image on the page. A digital signature uses a certificate and cryptography.

Can a digital signature be copied to another document?

No. The signature is tied to the hash of one exact file, so it is invalid on any other document or on a changed copy.

Do I need a digital signature for everyday forms?

Usually not. Most everyday forms and letters accept an electronic signature. Certificate-based signatures are mainly asked for in tenders, official filings and some contracts.

Related guides

More from the blog