Glossary
Digital signature
Definition
Digital signature: A value computed from data with the signer's private key that anyone holding the matching public key can verify. NIST describes it as providing origin authentication, data integrity and signer non-repudiation.
Also known ascryptographic signaturedigital signingpublic-key signature
In short
A digital signature is a value computed from data with the signer's private key. Anyone with the matching public key can check it, which proves the data came from the key's holder and hasn't changed since it was signed. NIST lists three services: origin authentication, data integrity and signer non-repudiation. A signature doesn't hide anything, and it's only as trustworthy as the public key you check it with.
Key takeaways
- The signer uses a private key; anyone with the public key can check the signature.
- A valid signature shows who signed and that not one byte changed afterward.
- Signing doesn't encrypt. A signed message is still readable by anyone who sees it.
- Webhook "signatures" made with a shared secret prove integrity, but not which side produced them.
- DKIM is the digital signature most people rely on every day without seeing it.
Last reviewed 30 November 2026
A digital signature is a value computed from data with the signer's private key. Anyone who has the matching public key can check it, and a valid result proves two things: the data came from whoever holds that private key, and nobody changed it after it was signed. NIST's Digital Signature Standard says a signature "provides a mechanism to verify origin authenticity and data integrity and to enforce signatory non-repudiation."
How signing and checking work#
- The signer's software computes a hash of the data and uses the private key to turn it into a signature.
- The signature travels with the data.
- The recipient hashes what arrived and checks the signature with the signer's public key. If one byte changed, or a different key signed it, the check fails.
The private key never leaves the signer. That's the difference from a password: checking a signature reveals nothing that would let someone forge the next one. Public-key cryptography explains the key pair behind it.
A worked example: DKIM#
Your company sends invoices from billing@example.com. Its mail provider signs each message with a private key and adds a DKIM-Signature header naming the domain and a selector. The receiving server fetches the public key from DNS at selector._domainkey.example.com, checks the signature, and learns that the signed headers and body arrived unchanged from a server holding the domain's key. That's DKIM, and it's why a forged invoice from your domain fails the check.
What short definitions miss#
The public key is the weak point. Swap the public key and an attacker can sign anything. Certificates from a certificate authority, DNS records and key fingerprints exist to tie a key to its real owner.
Signing isn't encrypting. A signed message stays readable to anyone who sees it. Privacy takes end-to-end encryption.
Many "signatures" use a shared secret. Webhook signatures are usually computed with a secret both sides hold. They prove a request wasn't altered by an outsider, but either side could have produced one, so they don't offer the non-repudiation a private-key signature does.
In Foxcolab#
When you connect a domain under Organization Details → Domains, Foxcolab creates a DKIM key pair for it and shows the public half as the foxcolab._domainkey record. Once the domain is verified, Foxcolab Mail signs your outgoing mail with the private half, so receiving servers can confirm it really came from you. Foxcolab Forms signs every webhook request with your form's signing secret, so your server can reject anything that didn't come from the form.
Set it up with custom domains, DKIM and DMARC. Custom domains come with the Pro plan and above, so see plans or create a free account.
Keep exploring
Related terms
- Public-key cryptographyPublic-key cryptography uses a pair of linked keys, one public and one private, to share secrets and sign data between people who have never met.
- DKIM (DomainKeys Identified Mail)DKIM adds a cryptographic signature to outgoing email so receivers can confirm the message came from your domain and wasn't changed on the way.
- HashingHashing turns any data into a short, fixed-length fingerprint that can't be turned back. It's how services check passwords without storing them and how you confirm a file arrived intact.
- Certificate authority (CA)A certificate authority is a trusted organization that issues the certificates proving a public key belongs to a website or person. It's what lets your browser trust the padlock.
- S/MIMES/MIME signs and encrypts email using X.509 certificates. What a signature really tells you depends on which certificate authority issued the certificate and what it checked.
- PGP (Pretty Good Privacy)PGP is the encryption program from 1991 that became the OpenPGP standard for encrypting and signing email and files. The two names are often used as if they meant the same thing.
- Email spoofingEmail spoofing is forging the sender of a message so it appears to come from someone else. Here's why email allows it, the forms it takes and what DMARC can and can't block.
Where Foxcolab uses it
Foxcolab
Private work tools, without the ads.
Mail, files, documents, spreadsheets and meetings in one account. Files, documents and spreadsheets are end-to-end encrypted.