Tools / Cyber Security Interview Questions
What is a Digital Signature?
A digital signature is a cryptographic mechanism that proves a message or document came from a specific sender and hasn't been altered since it was signed.
It works by hashing the document, then encrypting that hash with the sender's private key. The recipient decrypts the signature using the sender's public key and compares it to a fresh hash of the received document; a match confirms authenticity and integrity.
signature = encrypt(hash(document), sender_private_key) is_valid = (decrypt(signature, sender_public_key) == hash(received_document))
Digital signatures are used in code signing, signed emails, and legal document platforms, and they provide non-repudiation, meaning the sender can't credibly deny having signed the document.
More Related questions...