About this interactive
DKIM, DomainKeys Identified Mail, adds a digital signature to email so the receiver can check two things: that the message was not changed (integrity) and that it came from the domain it claims (authenticity).
A digital signature combines hashing and public key cryptography. On the sending side, a server in domain.com hashes the message to make its fingerprint, encrypts the fingerprint with the domain's private key, and adds the result to the email as a signature header. It can happen on any server, as long as it is before the mail leaves the domain.
The receiver needs the matching public key, and DNS is what distributes domain information, so domain.com publishes it in a DNS TXT record. On the receiving side, the server reads the signature, fetches the public key, decrypts the signature, makes its own hash of the message and compares the two. Matching fingerprints mean the mail is unchanged and was signed with domain.com's private key.
("The private key encrypts the hash" is the lesson's simplified way to say "signs".)
About TechKnowSurge
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →